Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Verifies whether only one shape is selected in the active window.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'Declaration
Protected Function IsSingleSelection As Boolean
'Usage
Dim returnValue As Boolean
returnValue = Me.IsSingleSelection()
protected bool IsSingleSelection()
protected:
bool IsSingleSelection()
protected function IsSingleSelection() : boolean
Return Value
Type: System.Boolean
true if only one shape is selected; otherwise, false.
Remarks
You can use this method with the document window or the tool 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.