Diagram.IsConnectorMappedToLink Method
Verifies whether the link has a link shape on the diagram.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Overridable Function IsConnectorMappedToLink ( _
connector As BinaryLinkShape _
) As Boolean
public virtual bool IsConnectorMappedToLink(
BinaryLinkShape connector
)
public:
virtual bool IsConnectorMappedToLink(
BinaryLinkShape^ connector
)
abstract IsConnectorMappedToLink :
connector:BinaryLinkShape -> bool
override IsConnectorMappedToLink :
connector:BinaryLinkShape -> bool
public function IsConnectorMappedToLink(
connector : BinaryLinkShape
) : boolean
Parameters
- connector
Type: Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape
The link shape.
Return Value
Type: System.Boolean
true if the link has a link shape on the diagram; otherwise, false.
Remarks
By default, the return value is true.
.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.