Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the specified role player from a link.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Shared Function GetRolePlayer ( _
link As ElementLink, _
domainRoleId As Guid _
) As ModelElement
public static ModelElement GetRolePlayer(
ElementLink link,
Guid domainRoleId
)
public:
static ModelElement^ GetRolePlayer(
ElementLink^ link,
Guid domainRoleId
)
static member GetRolePlayer :
link:ElementLink *
domainRoleId:Guid -> ModelElement
public static function GetRolePlayer(
link : ElementLink,
domainRoleId : Guid
) : ModelElement
Parameters
link
Type: Microsoft.VisualStudio.Modeling.ElementLinkThe element link.
domainRoleId
Type: GuidThe domain role to get the role player for.
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
A ModelElement that is the role player.
.NET Framework Security
- 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.