Gets the source role for the link shape.
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
Protected Friend Overridable Function GetSourceRolePlayerForLinkMappedByConnector ( _
    connector As BinaryLinkShape _
) As ModelElement
protected internal virtual ModelElement GetSourceRolePlayerForLinkMappedByConnector(
    BinaryLinkShape connector
)
protected public:
virtual ModelElement^ GetSourceRolePlayerForLinkMappedByConnector(
    BinaryLinkShape^ connector
)
abstract GetSourceRolePlayerForLinkMappedByConnector : 
        connector:BinaryLinkShape -> ModelElement 
override GetSourceRolePlayerForLinkMappedByConnector : 
        connector:BinaryLinkShape -> ModelElement 
 function GetSourceRolePlayerForLinkMappedByConnector(
    connector : BinaryLinkShape
) : ModelElement
Parameters
- connector
 Type: Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape
 The link shape.
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
The source role for the link shape.
.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.