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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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

Return Value

Type: 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

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace