Share via


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

'Declaration
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

See Also

Reference

CommandSetLibrary Class

Microsoft.VisualStudio.Modeling.Shell Namespace