DomainRoleInfo.GetRolePlayer Method (ElementLink)

Gets the link role player that corresponds to this role.

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

Syntax

'宣言
Public Function GetRolePlayer ( _
    link As ElementLink _
) As ModelElement
'使用
Dim instance As DomainRoleInfo
Dim link As ElementLink
Dim returnValue As ModelElement

returnValue = instance.GetRolePlayer(link)
public ModelElement GetRolePlayer(
    ElementLink link
)
public:
ModelElement^ GetRolePlayer(
    ElementLink^ link
)
public function GetRolePlayer(
    link : ElementLink
) : ModelElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement

A ModelElement that is the role player for this role.

Permissions

See Also

Reference

DomainRoleInfo Class

DomainRoleInfo Members

GetRolePlayer Overload

Microsoft.VisualStudio.Modeling Namespace