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
- selection
 Type: Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection
 The shapes that are connected to this shape.
- 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
- 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.