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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaração
ReadOnly Property CurrentSelection As ICollection
    Get
ICollection CurrentSelection { get; }
property ICollection^ CurrentSelection {
    ICollection^ get ();
}
abstract CurrentSelection : ICollection
function get CurrentSelection () : ICollection

Property Value

Type: System.Collections.ICollection

.NET Framework Security

See Also

Reference

IVsSelectionContext Interface

Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement Namespace