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)
Syntax
'Declaration
Protected Friend Overridable Function GetSourceRolePlayerForLinkMappedByConnector ( _
connector As BinaryLinkShape _
) As ModelElement
'Usage
Dim connector As BinaryLinkShape
Dim returnValue As ModelElement
returnValue = Me.GetSourceRolePlayerForLinkMappedByConnector(connector)
protected internal virtual ModelElement GetSourceRolePlayerForLinkMappedByConnector(
BinaryLinkShape connector
)
protected public:
virtual ModelElement^ GetSourceRolePlayerForLinkMappedByConnector(
BinaryLinkShape^ connector
)
protected internal function GetSourceRolePlayerForLinkMappedByConnector(
connector : BinaryLinkShape
) : ModelElement
Parameters
connector
Type: Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShapeThe 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.