Share via


CommandSet.SingleDocumentSelection Property

Gets the primary selected shape 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 SingleDocumentSelection As Object
'Usage
Dim value As Object 

value = Me.SingleDocumentSelection
protected Object SingleDocumentSelection { get; }
protected:
property Object^ SingleDocumentSelection {
    Object^ get ();
}
protected function get SingleDocumentSelection () : Object

Property Value

Type: System.Object
The primary (first) selected shape in the active document window.

.NET Framework Security

See Also

Reference

CommandSet Class

CommandSet Members

Microsoft.VisualStudio.Modeling.Shell Namespace