DiagramClientView.Selection Property

Gets the selection for the DiagramClientView.

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

Syntax

'Declaration
Public ReadOnly Property Selection As SelectedShapesCollection
public SelectedShapesCollection Selection { get; }
public:
property SelectedShapesCollection^ Selection {
    SelectedShapesCollection^ get ();
}
member Selection : SelectedShapesCollection with get
function get Selection () : SelectedShapesCollection

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection

Remarks

Use the returned SelectedShapesCollection object to alter the DiagramClientView's selection.

.NET Framework Security

See Also

Reference

DiagramClientView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace