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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.