DomainRoleInfo.GetRolePlayer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetRolePlayer(ElementLink) |
Gets link role player corresponding to this role. |
GetRolePlayer(ElementLink, Guid) |
Gets specified role player from a link. |
GetRolePlayer(ElementLink)
Gets link role player corresponding to this role.
public:
Microsoft::VisualStudio::Modeling::ModelElement ^ GetRolePlayer(Microsoft::VisualStudio::Modeling::ElementLink ^ link);
public Microsoft.VisualStudio.Modeling.ModelElement GetRolePlayer (Microsoft.VisualStudio.Modeling.ElementLink link);
member this.GetRolePlayer : Microsoft.VisualStudio.Modeling.ElementLink -> Microsoft.VisualStudio.Modeling.ModelElement
Public Function GetRolePlayer (link As ElementLink) As ModelElement
Parameters
- link
- ElementLink
Element link.
Returns
Role player for this role.
Applies to
GetRolePlayer(ElementLink, Guid)
Gets specified role player from a link.
public:
static Microsoft::VisualStudio::Modeling::ModelElement ^ GetRolePlayer(Microsoft::VisualStudio::Modeling::ElementLink ^ link, Guid domainRoleId);
public static Microsoft.VisualStudio.Modeling.ModelElement GetRolePlayer (Microsoft.VisualStudio.Modeling.ElementLink link, Guid domainRoleId);
static member GetRolePlayer : Microsoft.VisualStudio.Modeling.ElementLink * Guid -> Microsoft.VisualStudio.Modeling.ModelElement
Public Shared Function GetRolePlayer (link As ElementLink, domainRoleId As Guid) As ModelElement
Parameters
- link
- ElementLink
Element link.
- domainRoleId
- Guid
Domain role to get role player for.
Returns
Role player.