DslDefinitionModelElementTypeDescriptor Class
TypeDescriptor for DomainPath or PropertyPath.
Inheritance Hierarchy
System.Object
System.ComponentModel.CustomTypeDescriptor
Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
Microsoft.VisualStudio.Modeling.DslDefinition.Design.DslDefinitionModelElementTypeDescriptor
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Class DslDefinitionModelElementTypeDescriptor _
Inherits ElementTypeDescriptor
public class DslDefinitionModelElementTypeDescriptor : ElementTypeDescriptor
public ref class DslDefinitionModelElementTypeDescriptor : public ElementTypeDescriptor
type DslDefinitionModelElementTypeDescriptor =
class
inherit ElementTypeDescriptor
end
public class DslDefinitionModelElementTypeDescriptor extends ElementTypeDescriptor
The DslDefinitionModelElementTypeDescriptor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DslDefinitionModelElementTypeDescriptor | DslDefinitionModelElementTypeDescriptor ctor. It's calling base class directly. |
Top
Properties
Name | Description | |
---|---|---|
ComponentType | Gets the Type of the model element that this class is representing. (Inherited from ElementTypeDescriptor.) | |
ModelElement | Gets the model element that this class is representing. (Inherited from ElementTypeDescriptor.) | |
Store | (Inherited from ElementTypeDescriptor.) |
Top
Methods
Name | Description | |
---|---|---|
CollectionRolePropertiesBrowsable | For all the relationships this model element participate, return whether any PropertyDescriptor for Collection properties based on roles is Browsable (Inherited from ElementTypeDescriptor.) | |
CreateCollectionPropertyDescriptor | (Inherited from ElementTypeDescriptor.) | |
CreatePropertyDescriptor | Create the PropertyDescriptor for a given DomainProperty (Overrides ElementTypeDescriptor.CreatePropertyDescriptor(ModelElement, DomainPropertyInfo, array<Attribute[]).) | |
CreateRolePlayerPropertyDescriptor | Method to create a PropertyDescriptor which describes a relationship and role to be displayed in the grid. (Overrides ElementTypeDescriptor.CreateRolePlayerPropertyDescriptor(ModelElement, DomainRoleInfo, array<Attribute[]).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAttributes | Returns a collection of custom attributes for the type represented by this type descriptor. (Inherited from CustomTypeDescriptor.) | |
GetCategory | Returns a localized string for the category of a domain property. (Inherited from ElementTypeDescriptor.) | |
GetClassName | Returns the name of the class this descriptor represents. (Inherited from ElementTypeDescriptor.) | |
GetComponentName | Gets the name of the model element that is represented by this class. (Inherited from ElementTypeDescriptor.) | |
GetConverter | Returns a type converter for the type represented by this type descriptor. (Inherited from CustomTypeDescriptor.) | |
GetDefaultEvent | Returns the event descriptor for the default event of the object represented by this type descriptor. (Inherited from CustomTypeDescriptor.) | |
GetDefaultProperty | Returns the property descriptor for the default property of the object represented by this type descriptor. (Inherited from CustomTypeDescriptor.) | |
GetDescription | Returns a localized string for the description of a domain property. (Inherited from ElementTypeDescriptor.) | |
GetDisplayProperties(ModelElement, PropertyDescriptor%) | Returns a collection of property descriptors for all the properties of a model element. (Inherited from ElementTypeDescriptor.) | |
GetDisplayProperties(ModelElement, Store, PropertyDescriptor%) | Returns a list of property descriptors corresponding to each domain property (Inherited from ElementTypeDescriptor.) | |
GetDomainClassInfo | Return the domain class info for the type of element being described. (Inherited from ElementTypeDescriptor.) | |
GetDomainPropertyAttributes | Returns an array of the custom attributes that are applied to the described property. (Inherited from ElementTypeDescriptor.) | |
GetEditor | Returns an editor of the specified type that is to be associated with the class represented by this type descriptor. (Inherited from CustomTypeDescriptor.) | |
GetEvents() | Returns a collection of event descriptors for the object represented by this type descriptor. (Inherited from CustomTypeDescriptor.) | |
GetEvents(array<Attribute[]) | Returns a filtered collection of event descriptors for the object represented by this type descriptor. (Inherited from CustomTypeDescriptor.) | |
GetExtensionProperties | (Overrides ElementTypeDescriptor.GetExtensionProperties(ModelElement, array<Attribute[]).) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetProperties() | (Overrides ElementTypeDescriptor.GetProperties().) | |
GetProperties(array<Attribute[]) | Method to supply our own set of property descriptors for the designated ModelElement. (Overrides ElementTypeDescriptor.GetProperties(array<Attribute[]).) | |
GetPropertyDescriptorDisplayName | Returns a localized string for the display name of a domain property. (Inherited from ElementTypeDescriptor.) | |
GetPropertyOwner | 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. (Inherited from ElementTypeDescriptor.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IncludeCollectionRoleProperties | For all the relationships this model element participate, return whether to provide a PropertyDescriptor for Collection properties based on roles. (Inherited from ElementTypeDescriptor.) | |
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. (Inherited from ElementTypeDescriptor.) | |
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. (Inherited from ElementTypeDescriptor.) | |
IsPropertyDescriptorReadOnly | Returns a value that indicates whether the described property is read-only. (Inherited from ElementTypeDescriptor.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ShouldCreateCollectionPropertyDescriptor | For the relationship and the instance level role players involved, return whether to create a property descriptor for the collections (Inherited from ElementTypeDescriptor.) | |
ShouldCreatePropertyDescriptor | Gets whether to create type descriptor for a givne property. (Overrides ElementTypeDescriptor.ShouldCreatePropertyDescriptor(ModelElement, DomainPropertyInfo).) | |
ShouldCreateRolePlayerPropertyDescriptor | Returns a value that indicates whether a descriptor should be created for the specified role property. (Inherited from ElementTypeDescriptor.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.Modeling.DslDefinition.Design Namespace