RoleAssignment Class

 

Provides information to initialize a role that is assigned to a link element.

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

System::Object
  Microsoft.VisualStudio.Modeling::RoleAssignment

public ref class RoleAssignment sealed 

NameDescription
System_CAPS_pubmethodRoleAssignment(Guid, ModelElement^)

Initializes a new instance of the RoleAssignment class given an element that plays the role.

System_CAPS_pubmethodRoleAssignment(Guid, ModelElement^, Int32)

Initializes a new instance of the RoleAssignment class.

System_CAPS_pubmethodRoleAssignment(Guid, Moniker^)

Initializes a new instance of the RoleAssignment class.

System_CAPS_pubmethodRoleAssignment(Guid, Moniker^, Int32)

Initializes a new instance of the RoleAssignment class.

NameDescription
System_CAPS_pubpropertyDomainRoleId

Gets the ID of the domain role.

System_CAPS_pubpropertyLinkIndex

Gets the ID of the domain role.

System_CAPS_pubpropertyRolePlayer

Gets the model element that is assigned to the role.

System_CAPS_pubpropertyRolePlayerMoniker

Gets the moniker of the element that is assigned to the role.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreatePlaceholderRoleAssignment(Guid)

Creates a role assignment placeholder.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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: