RolePlayerPropertyDescriptor Class
Provides additional run-time type information for a role property.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
System.ComponentModel::MemberDescriptor
System.ComponentModel::PropertyDescriptor
Microsoft.VisualStudio.Modeling.Design::RolePlayerPropertyDescriptor
| Name | Description | |
|---|---|---|
![]() | RolePlayerPropertyDescriptor(ModelElement^, DomainRoleInfo^, array<Attribute^>^) | Initializes a new instance of the RolePlayerPropertyDescriptor class. |
![]() | RolePlayerPropertyDescriptor(Store^, DomainRoleInfo^, array<Attribute^>^) | Constructor |
| Name | Description | |
|---|---|---|
![]() | AllowNull | Gets or sets a value that indicates whether null is a valid value for the described role property. |
![]() | AttributeArray | (Inherited from MemberDescriptor.) |
![]() | Attributes | (Inherited from MemberDescriptor.) |
![]() | Category | (Inherited from MemberDescriptor.) |
![]() | ComponentType | Gets the type of the domain element to which this property is bound.(Overrides PropertyDescriptor::ComponentType.) |
![]() | Converter | Gets the converter for the described property.(Overrides PropertyDescriptor::Converter.) |
![]() | Description | (Inherited from MemberDescriptor.) |
![]() | DesignTimeOnly | (Inherited from MemberDescriptor.) |
![]() | DisplayName | Gets the display name of the described role property.(Overrides MemberDescriptor::DisplayName.) |
![]() | DomainRoleInfo | Gets the metadata for the role of the model element in the link. |
![]() | ElementList | Obsolete.Gets a collection of valid values for the described role property. |
![]() | IsBrowsable | (Inherited from MemberDescriptor.) |
![]() | IsInstanceBased | Test if this PropertyDescriptor is based on an instance or a static type. |
![]() | IsLocalizable | (Inherited from PropertyDescriptor.) |
![]() | IsReadOnly | Gets a value that indicates whether the described role property is read-only.(Overrides PropertyDescriptor::IsReadOnly.) |
![]() | Name | (Inherited from MemberDescriptor.) |
![]() | NameHashCode | (Inherited from MemberDescriptor.) |
![]() | PropertyType | Gets the type of the property.(Overrides PropertyDescriptor::PropertyType.) |
![]() | RelationshipInfo | Gets the metadata for the link in which the model element is a role player. |
![]() | RolePlayerMenuCommands | Gets the collection of RolePlayerMenuCommand objects that represent the callback commands for specifying the role player instance when a user selects a particular item. |
![]() | SerializationVisibility | (Inherited from PropertyDescriptor.) |
![]() | SupportsChangeEvents | (Inherited from PropertyDescriptor.) |
This class provides dynamic custom property information for a role property.
An ElementTypeDescriptor for a model element can return a collection of property descriptors for the properties of that model element. This collection can contain property descriptors for certain of the links in which the element is a role player. These property descriptors are instances of this class. For more information, see and the following methods of the ElementTypeDescriptor class: CreateRolePlayerPropertyDescriptor, GetDisplayProperties, and ShouldCreateRolePlayerPropertyDescriptor.30f4db07-f7c6-4301-84b4-7b1c1e5bf126
To create a customized role property descriptor, inherit from this class and override one or more of the members.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



