Share via


CommandSet.CurrentDocumentSelection Property

Gets the selected shapes in the active document window.

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

Syntax

'Declaration
Protected ReadOnly Property CurrentDocumentSelection As ICollection
'Usage
Dim value As ICollection 

value = Me.CurrentDocumentSelection
protected ICollection CurrentDocumentSelection { get; }
protected:
property ICollection^ CurrentDocumentSelection {
    ICollection^ get ();
}
protected function get CurrentDocumentSelection () : ICollection

Property Value

Type: System.Collections.ICollection
The selected shapes in the active document window.

.NET Framework Security

See Also

Reference

CommandSet Class

CommandSet Members

Microsoft.VisualStudio.Modeling.Shell Namespace