Compartilhar via


SelectedShapesCollection.EnsureVisible Method (DiagramClientView.EnsureVisiblePreferences)

Ensures that the selection is within the view. If the selection is the diagram, then nothing happens.

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

Syntax

'Declaração
Public Sub EnsureVisible ( _
    preferences As DiagramClientView..::..EnsureVisiblePreferences _
)
public void EnsureVisible(
    DiagramClientView..::..EnsureVisiblePreferences preferences
)
public:
void EnsureVisible(
    DiagramClientView..::..EnsureVisiblePreferences preferences
)
member EnsureVisible : 
        preferences:DiagramClientView..::..EnsureVisiblePreferences -> unit 
public function EnsureVisible(
    preferences : DiagramClientView..::..EnsureVisiblePreferences
)

Parameters

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

EnsureVisible Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace