RolePlayerPropertyDescriptor Class

 

Provides additional run-time type information for a role property.

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

System.Object
  System.ComponentModel.MemberDescriptor
    System.ComponentModel.PropertyDescriptor
      Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor

[HostProtectionAttribute(SecurityAction.LinkDemand, SharedState = true)]
public class RolePlayerPropertyDescriptor : PropertyDescriptor

NameDescription
System_CAPS_pubpropertyAllowNull

Gets or sets a value that indicates whether null is a valid value for the described role property.

System_CAPS_protpropertyAttributeArray

(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyAttributes

(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyCategory

(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyComponentType

Gets the type of the domain element to which this property is bound.(Overrides PropertyDescriptor.ComponentType.)

System_CAPS_pubpropertyConverter

Gets the converter for the described property.(Overrides PropertyDescriptor.Converter.)

System_CAPS_pubpropertyDescription

(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyDesignTimeOnly

(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyDisplayName

Gets the display name of the described role property.(Overrides MemberDescriptor.DisplayName.)

System_CAPS_pubpropertyDomainRoleInfo

Gets the metadata for the role of the model element in the link.

System_CAPS_pubpropertyElementList

Obsolete.Gets a collection of valid values for the described role property.

System_CAPS_pubpropertyIsBrowsable

(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyIsInstanceBased

Test if this PropertyDescriptor is based on an instance or a static type.

System_CAPS_pubpropertyIsLocalizable

(Inherited from PropertyDescriptor.)

System_CAPS_pubpropertyIsReadOnly

Gets a value that indicates whether the described role property is read-only.(Overrides PropertyDescriptor.IsReadOnly.)

System_CAPS_pubpropertyName

(Inherited from MemberDescriptor.)

System_CAPS_protpropertyNameHashCode

(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyPropertyType

Gets the type of the property.(Overrides PropertyDescriptor.PropertyType.)

System_CAPS_pubpropertyRelationshipInfo

Gets the metadata for the link in which the model element is a role player.

System_CAPS_pubpropertyRolePlayerMenuCommands

Gets the collection of RolePlayerMenuCommand objects that represent the callback commands for specifying the role player instance when a user selects a particular item.

System_CAPS_pubpropertySerializationVisibility

(Inherited from PropertyDescriptor.)

System_CAPS_pubpropertySupportsChangeEvents

(Inherited from PropertyDescriptor.)

NameDescription
System_CAPS_pubmethodAddValueChanged(Object, EventHandler)

Handle addition of an event listener(Overrides PropertyDescriptor.AddValueChanged(Object, EventHandler).)

System_CAPS_protmethodBuildElementList(Object)

Get a list of the valid role players for this property value of the specified component.

System_CAPS_protmethodBuildElementList(Object, Boolean)

Build a list of the valid role players for this property value of the specified component.

System_CAPS_pubmethodCanResetValue(Object)

Indicates whether the value of the domain property can be reset.(Overrides PropertyDescriptor.CanResetValue(Object).)

System_CAPS_protmethodCreateAttributeCollection()

(Inherited from MemberDescriptor.)

System_CAPS_protmethodCreateInstance(Type)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodEquals(Object)

(Inherited from PropertyDescriptor.)

System_CAPS_protmethodFillAttributes(IList)

(Inherited from PropertyDescriptor.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetChildProperties()

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetChildProperties(Attribute[])

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetChildProperties(Object)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetChildProperties(Object, Attribute[])

(Inherited from PropertyDescriptor.)

System_CAPS_protmethodGetDescribedElement(Object)

Returns the ModelElement for which this RolePlayerPropertyDescriptor is representing a role property (i.e. the host element). Note that this is not necessarily the source of the relationship.

System_CAPS_pubmethodGetEditor(Type)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetHashCode()

(Inherited from PropertyDescriptor.)

System_CAPS_protmethodGetInvocationTarget(Type, Object)

(Inherited from PropertyDescriptor.)

System_CAPS_protmethodGetSetFieldString(String)

Returns a localized string for the name of the set value transaction.

System_CAPS_pubmethodGetStore(Object)

Returns the Store this descriptor operates across

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodGetTypeFromName(String)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetValue(Object)

Gets the value of the domain role property.(Overrides PropertyDescriptor.GetValue(Object).)

System_CAPS_protmethodGetValueChangedHandler(Object)

(Inherited from PropertyDescriptor.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnValueChanged(Object, EventArgs)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodRemoveValueChanged(Object, EventHandler)

Handle removal of an event listener(Overrides PropertyDescriptor.RemoveValueChanged(Object, EventHandler).)

System_CAPS_pubmethodResetValue(Object)

Resets the value of the role property.(Overrides PropertyDescriptor.ResetValue(Object).)

System_CAPS_pubmethodSetValue(Object, Object)

Sets the value of the domain role property.(Overrides PropertyDescriptor.SetValue(Object, Object).)

System_CAPS_pubmethodShouldSerializeValue(Object)

Indicates whether the value of the role property should be serialized.(Overrides PropertyDescriptor.ShouldSerializeValue(Object).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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.

Return to top
Show: