This documentation is archived and is not being maintained.

Diagram.GetSourceRolePlayerForLinkMappedByConnector Method

Gets the source role for the link shape.

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

protected internal virtual ModelElement GetSourceRolePlayerForLinkMappedByConnector(
	BinaryLinkShape connector
)

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.

Show: