共用方式為


NodeShape.NavigateAcrossLinks Method

Selects the shapes or sets the focus on the shapes that are connected to this shape.

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

Syntax

'宣告
Public Sub NavigateAcrossLinks ( _
    selection As SelectedShapesCollection, _
    focusOnly As Boolean _
)
public void NavigateAcrossLinks(
    SelectedShapesCollection selection,
    bool focusOnly
)
public:
void NavigateAcrossLinks(
    SelectedShapesCollection^ selection, 
    bool focusOnly
)
member NavigateAcrossLinks : 
        selection:SelectedShapesCollection * 
        focusOnly:bool -> unit 
public function NavigateAcrossLinks(
    selection : SelectedShapesCollection, 
    focusOnly : boolean
)

Parameters

  • focusOnly
    Type: System.Boolean
    true to set the focus on the connected shapes; false to select the shapes that are connected to this shape.

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace