DomainRoleInfo.GetSourceRolePlayer Method

Gets the source element that is attached to a link.

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

Syntax

'宣言
Public Shared Function GetSourceRolePlayer ( _
    link As ElementLink _
) As ModelElement
'使用
Dim link As ElementLink
Dim returnValue As ModelElement

returnValue = DomainRoleInfo.GetSourceRolePlayer(link)
public static ModelElement GetSourceRolePlayer(
    ElementLink link
)
public:
static ModelElement^ GetSourceRolePlayer(
    ElementLink^ link
)
public static function GetSourceRolePlayer(
    link : ElementLink
) : ModelElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement

The source element that is attached to a link.

Permissions

See Also

Reference

DomainRoleInfo Class

DomainRoleInfo Members

Microsoft.VisualStudio.Modeling Namespace