Share via


RolePlayerPropertyDescriptor Members

Include Protected Members
Include Inherited Members

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

The RolePlayerPropertyDescriptor type exposes the following members.

Constructors

 

Name

Description

Public method

RolePlayerPropertyDescriptor

Initializes a new instance of the RolePlayerPropertyDescriptor class.

Top

Methods

 

Name

Description

Public method

AddValueChanged

Enables other objects to be notified when this property changes. (Inherited from PropertyDescriptor.)

Public method

CanResetValue

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

Protected method

CreateAttributeCollection

Creates a collection of attributes using the array of attributes passed to the constructor. (Inherited from MemberDescriptor.)

Protected method

CreateInstance

Creates an instance of the specified type. (Inherited from PropertyDescriptor.)

Public method

Equals

Compares this to another object to see if they are equivalent. (Inherited from PropertyDescriptor.)

Protected method

FillAttributes

Adds the attributes of the PropertyDescriptor to the specified list of attributes in the parent class. (Inherited from PropertyDescriptor.)

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

GetChildProperties

Overloaded. Returns a PropertyDescriptorCollection.

Public method

GetEditor

Gets an editor of the specified type. (Inherited from PropertyDescriptor.)

Public method

GetHashCode

Returns the hash code for this object. (Inherited from PropertyDescriptor.)

Protected method

GetInvocationTarget

This method returns the object that should be used during invocation of members. (Inherited from PropertyDescriptor.)

Protected method

GetSetFieldString

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

Public method

GetType

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

Protected method

GetTypeFromName

Returns a type using its name. (Inherited from PropertyDescriptor.)

Public method

GetValue

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

Protected method

GetValueChangedHandler

Retrieves the current set of ValueChanged event handlers for a specific component (Inherited from PropertyDescriptor.)

Protected method

MemberwiseClone

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

Protected method

OnValueChanged

Raises the ValueChanged event that you implemented. (Inherited from PropertyDescriptor.)

Public method

RemoveValueChanged

Enables other objects to be notified when this property changes. (Inherited from PropertyDescriptor.)

Public method

ResetValue

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

Public method

SetValue

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

Public method

ShouldSerializeValue

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

Public method

ToString

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

Top

Properties

 

Name

Description

Public property

AllowNull

Gets or sets a value that indicates whether nulla null reference (Nothing in Visual Basic) is a valid value for the described role property.

Protected property

AttributeArray

Gets or sets an array of attributes. (Inherited from MemberDescriptor.)

Public property

Attributes

Gets the collection of attributes for this member. (Inherited from MemberDescriptor.)

Public property

Category

Gets the name of the category to which the member belongs, as specified in the CategoryAttribute. (Inherited from MemberDescriptor.)

Public property

ComponentType

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

Public property

Converter

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

Public property

Description

Gets the description of the member, as specified in the DescriptionAttribute. (Inherited from MemberDescriptor.)

Public property

DesignTimeOnly

Gets whether this member should be set only at design time, as specified in the DesignOnlyAttribute. (Inherited from MemberDescriptor.)

Public property

DisplayName

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

Public property

DomainRoleInfo

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

Public property

ElementList

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

Public property

IsBrowsable

Gets a value indicating whether the member is browsable, as specified in the BrowsableAttribute. (Inherited from MemberDescriptor.)

Public property

IsLocalizable

Gets a value indicating whether this property should be localized, as specified in the LocalizableAttribute. (Inherited from PropertyDescriptor.)

Public property

IsReadOnly

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

Public property

Link

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

Public property

MapSourceRolePlayer

Gets or sets the delegate that enables the role player to intervene in the process of creating a link.

Public property

Name

Gets the name of the member. (Inherited from MemberDescriptor.)

Protected property

NameHashCode

Gets the hash code for the name of the member, as specified in GetHashCode. (Inherited from MemberDescriptor.)

Public property

PropertyType

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

Public property

RelationshipInfo

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

Public property

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.

Public property

SerializationVisibility

Gets a value indicating whether this property should be serialized, as specified in the DesignerSerializationVisibilityAttribute. (Inherited from PropertyDescriptor.)

Protected property

SourcePlayer

Gets the model element that is the role player for the link.

Public property

Store

Gets the store that contains the model element and link.

Public property

SupportsChangeEvents

Gets a value indicating whether value change notifications for this property may originate from outside the property descriptor. (Inherited from PropertyDescriptor.)

Top

See Also

Reference

RolePlayerPropertyDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace