CommandSetLibrary.IsSingleDocumentSelection Method
True if there is only one selected item on the active document.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
‘선언
Protected Function IsSingleDocumentSelection As Boolean
protected bool IsSingleDocumentSelection()
protected:
bool IsSingleDocumentSelection()
member IsSingleDocumentSelection : unit -> bool
protected function IsSingleDocumentSelection() : boolean
Return Value
Type: System.Boolean
.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.