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
'Dichiarazione
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
- preferences
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView.EnsureVisiblePreferences
Preferences on how the selection should be brought into view.
.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.