共用方式為


DomainRoleInfo.GetSourceRolePlayer Method

Gets the source element that is attached to a link.

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

Syntax

'宣告
Public Shared Function GetSourceRolePlayer ( _
    link As ElementLink _
) As ModelElement
public static ModelElement GetSourceRolePlayer(
    ElementLink link
)
public:
static ModelElement^ GetSourceRolePlayer(
    ElementLink^ link
)
static member GetSourceRolePlayer : 
        link:ElementLink -> ModelElement 
public static function GetSourceRolePlayer(
    link : ElementLink
) : ModelElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement
The source element that is attached to a link.

.NET Framework Security

See Also

Reference

DomainRoleInfo Class

Microsoft.VisualStudio.Modeling Namespace