Gets the link role player moniker corresponding to this role.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Function GetRolePlayerMoniker ( _
link As ElementLink _
) As Moniker
'使用
Dim instance As DomainRoleInfo
Dim link As ElementLink
Dim returnValue As Moniker
returnValue = instance.GetRolePlayerMoniker(link)
public Moniker GetRolePlayerMoniker(
ElementLink link
)
public:
Moniker^ GetRolePlayerMoniker(
ElementLink^ link
)
public function GetRolePlayerMoniker(
link : ElementLink
) : Moniker
Parameters
link
Type: Microsoft.VisualStudio.Modeling.ElementLinkThe element link.
Return Value
Type: Microsoft.VisualStudio.Modeling.Moniker
The role player moniker for this role.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.