Share via


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

Protected method

ElementTypeDescriptor

Overloaded. Initializes a new instance of the ElementTypeDescriptor class.

Top

Methods

 

Name

Description

Protected method

CreatePropertyDescriptor

Creates a descriptor for a property of a model element.

Protected method

CreateRolePlayerPropertyDescriptor

Creates a descriptor for a role property of a model element.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetAttributes

Returns a collection of custom attributes for the type represented by this type descriptor. (Inherited from CustomTypeDescriptor.)

Protected method

GetCategory

Returns a localized string for the category of a domain property.

Public method

GetClassName

Returns the fully qualified name of the class represented by this type descriptor. (Inherited from CustomTypeDescriptor.)

Public method

GetComponentName

Gets the name of the model element that is represented by this class. (Overrides CustomTypeDescriptor.GetComponentName().)

Public method

GetConverter

Returns a type converter for the type represented by this type descriptor. (Inherited from CustomTypeDescriptor.)

Public method

GetDefaultEvent

Returns the event descriptor for the default event of the object represented by this type descriptor. (Inherited from CustomTypeDescriptor.)

Public method

GetDefaultProperty

Returns the property descriptor for the default property of the object represented by this type descriptor. (Inherited from CustomTypeDescriptor.)

Protected method

GetDescription

Returns a localized string for the description of a domain property.

Protected method

GetDisplayProperties

Returns a collection of property descriptors for all the properties of a model element.

Protected method

GetDomainPropertyAttributes

Returns an array of the custom attributes that are applied to the described property.

Public method

GetEditor

Returns an editor of the specified type that is to be associated with the class represented by this type descriptor. (Inherited from CustomTypeDescriptor.)

Public method

GetEvents

Overloaded. Returns a collection of event descriptors for the object represented by this type descriptor.

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetProperties

Overloaded. Returns a collection of domain property descriptors for the properties of the described type.

Protected method

GetPropertyDescriptorDisplayName

Returns a localized string for the display name of a domain property.

Public method

GetPropertyOwner

Returns an object that contains the property described by the specified property descriptor. (Inherited from CustomTypeDescriptor.)

Protected method

GetRolePlayerPropertyAttributes

Returns an array of the custom attributes that are applied to the described role property.

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

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.

Protected method

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.

Protected method

IsPropertyDescriptorReadOnly

Returns a value that indicates whether the described property is read-only.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

ShouldCreatePropertyDescriptor

Returns a value that indicates whether a descriptor should be created for the specified domain property.

Protected method

ShouldCreateRolePlayerPropertyDescriptor

Returns a value that indicates whether a descriptor should be created for the specified role property.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Protected property

ComponentType

Gets the Type of the model element that this class is representing.

Public property

ModelElement

Gets the model element that this class is representing.

Top

See Also

Reference

ElementTypeDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace