Export (0) Print
Expand All

ElementTypeDescriptor Class

Updated: July 2008

Provides additional run-time type information for a ModelElement object.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

public class ElementTypeDescriptor : CustomTypeDescriptor

This class provides dynamic custom type information for model elements.

The Domain-Specific Language Tools (DSL Tools) use this type to represent the model elements in a domain model. This type controls how an element is handled by the property grid in the domain model and provides methods for working with the described element.

To create a customized element type descriptor, inherit from this class and override one or more of the members.

NoteNote:

If your DSL definition specifies a domain type descriptor for a domain class, then the generated code for the definition will contain a type descriptor, derived from ElementTypeDescriptor, specifically for that domain class. For more information, see Defining Domain Type Descriptors.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Date

History

Reason

July 2008

Added topic.

Content bug fix.

Community Additions

ADD
Show:
© 2014 Microsoft