共用方式為


Diagram.GetSourceRolePlayerForLinkMappedByConnector Method

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

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement
The source role for the link shape.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace