RoleAssignment Class
Provides information to initialize a role that is assigned to a link element.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | RoleAssignment(Guid, ModelElement^) | Initializes a new instance of the RoleAssignment class given an element that plays the role. |
![]() | RoleAssignment(Guid, ModelElement^, Int32) | Initializes a new instance of the RoleAssignment class. |
![]() | RoleAssignment(Guid, Moniker^) | Initializes a new instance of the RoleAssignment class. |
![]() | RoleAssignment(Guid, Moniker^, Int32) | Initializes a new instance of the RoleAssignment class. |
| Name | Description | |
|---|---|---|
![]() | DomainRoleId | Gets the ID of the domain role. |
![]() | LinkIndex | Gets the ID of the domain role. |
![]() | RolePlayer | Gets the model element that is assigned to the role. |
![]() | RolePlayerMoniker | Gets the moniker of the element that is assigned to the role. |
| Name | Description | |
|---|---|---|
![]() ![]() | CreatePlaceholderRoleAssignment(Guid) | Creates a role assignment placeholder. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (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.


