Gets the primary selected shape in the active window.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Protected ReadOnly Property SingleSelection As Object
'使用
Dim value As Object
value = Me.SingleSelection
protected Object SingleSelection { get; }
protected:
property Object^ SingleSelection {
Object^ get ();
}
protected function get SingleSelection () : Object
Property Value
Type: System.Object
The primary (first) selected shape in the active window.
Remarks
You can use this property with the document window or the tool window.
Permissions
- 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.