Share via


IVsSelectionContext.CurrentDocumentSelection Property

Returns the collection of selected elements in the active document 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

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

Property Value

Type: System.Collections.ICollection

.NET Framework Security

See Also

Reference

IVsSelectionContext Interface

Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement Namespace