IVsSelectionContext.CurrentSelection Property

Returns the collection of selected elements in the active window. This could be a document window or tool window.

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

Syntax

'Declaration
ReadOnly Property CurrentSelection As ICollection
ICollection CurrentSelection { get; }
property ICollection^ CurrentSelection {
    ICollection^ get ();
}
abstract CurrentSelection : ICollection with get
function get CurrentSelection () : ICollection

Property Value

Type: ICollection

.NET Framework Security

See Also

Reference

IVsSelectionContext Interface

Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement Namespace