ArcFM Desktop Developer Guide
BaseTypeRequiredAttribute Class
Members  Example 


Product Availability
Required Licenses
.NET Assembly
When applied to a target attribute, specifies a requirement for any type marked with the target attribute to implement or inherit specific type or types.
Object Model
BaseTypeRequiredAttribute Class
Syntax
'Declaration
 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Class, 
   AllowMultiple=True, 
   Inherited=True)>
<BaseTypeRequiredAttribute(System.Attribute)>
Public NotInheritable Class BaseTypeRequiredAttribute 
   Inherits System.Attribute
'Usage
 
Dim instance As BaseTypeRequiredAttribute
[AttributeUsage(ValidOn=AttributeTargets.Class, 
   AllowMultiple=true, 
   Inherited=true)]
[BaseTypeRequired(System.Attribute)]
public sealed class BaseTypeRequiredAttribute : System.Attribute 
Example
[BaseTypeRequired(typeof(IComponent)] // Specify requirement
public class ComponentAttribute : Attribute { }
[Component] // ComponentAttribute requires implementing IComponent interface
public class MyComponent : IComponent { }
Inheritance Hierarchy

System.Object
   System.Attribute
      Miner.Desktop.DesignerExpress.Annotations.BaseTypeRequiredAttribute

Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

BaseTypeRequiredAttribute Members
Miner.Desktop.DesignerExpress.Annotations Namespace

 

 


Send Comment