共用方式為


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

'宣告
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: 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

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace