Compartilhar via


DiagramView.Selection Property

Definition

Gets the selection for the DiagramView.

public:
 property Microsoft::VisualStudio::Modeling::Diagrams::SelectedShapesCollection ^ Selection { Microsoft::VisualStudio::Modeling::Diagrams::SelectedShapesCollection ^ get(); };
public Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection Selection { get; }
member this.Selection : Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection
Public ReadOnly Property Selection As SelectedShapesCollection

Property Value

Remarks

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

Applies to