DiagramView.Selection Property
Gets the selection for the DiagramView.
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 ReadOnly Property Selection As SelectedShapesCollection
Get
public SelectedShapesCollection Selection { get; }
public:
property SelectedShapesCollection^ Selection {
SelectedShapesCollection^ get ();
}
member Selection : SelectedShapesCollection
function get Selection () : SelectedShapesCollection
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection
Remarks
Use the returned SelectedShapesCollection object to alter the DiagramView's selection.
.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.