ElementTypeDescriptor Members
Include Protected Members
Include Inherited Members
Provides additional run-time type information for a ModelElement object.
The ElementTypeDescriptor type exposes the following members.
Constructors
Name
Description
Overloaded. Initializes a new instance of the ElementTypeDescriptor class.
Top
Methods
Name
Description
Creates a descriptor for a property of a model element.
CreateRolePlayerPropertyDescriptor
Creates a descriptor for a role property of a model element.
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Returns a collection of custom attributes for the type represented by this type descriptor. (Inherited from CustomTypeDescriptor.)
Returns a localized string for the category of a domain property.
Returns the fully qualified name of the class represented by this type descriptor. (Inherited from CustomTypeDescriptor.)
Gets the name of the model element that is represented by this class. (Overrides CustomTypeDescriptor.GetComponentName().)
Returns a type converter for the type represented by this type descriptor. (Inherited from CustomTypeDescriptor.)
Returns the event descriptor for the default event of the object represented by this type descriptor. (Inherited from CustomTypeDescriptor.)
Returns the property descriptor for the default property of the object represented by this type descriptor. (Inherited from CustomTypeDescriptor.)
Returns a localized string for the description of a domain property.
Returns a collection of property descriptors for all the properties of a model element.
Returns an array of the custom attributes that are applied to the described property.
Returns an editor of the specified type that is to be associated with the class represented by this type descriptor. (Inherited from CustomTypeDescriptor.)
Overloaded. Returns a collection of event descriptors for the object represented by this type descriptor.
Serves as a hash function for a particular type. (Inherited from Object.)
Overloaded. Returns a collection of domain property descriptors for the properties of the described type.
GetPropertyDescriptorDisplayName
Returns a localized string for the display name of a domain property.
Returns an object that contains the property described by the specified property descriptor. (Inherited from CustomTypeDescriptor.)
GetRolePlayerPropertyAttributes
Returns an array of the custom attributes that are applied to the described role property.
Gets the type of the current instance. (Inherited from Object.)
IncludeEmbeddingRelationshipProperties
For the specified model element, returns a value that indicates whether to add properties of the target element of any embedded relationships that do not allow duplicates.
IncludeOppositeRolePlayerProperties
For the specified model element, returns a value that indicates whether to add role properties for zero-to-one and one-to-one relationships.
Returns a value that indicates whether the described property is read-only.
Creates a shallow copy of the current Object. (Inherited from Object.)
ShouldCreatePropertyDescriptor
Returns a value that indicates whether a descriptor should be created for the specified domain property.
ShouldCreateRolePlayerPropertyDescriptor
Returns a value that indicates whether a descriptor should be created for the specified role property.
Returns a string that represents the current object. (Inherited from Object.)
Top
Properties
Name
Description
Gets the Type of the model element that this class is representing.
Gets the model element that this class is representing.
Top