Compartir a través de


CommandSetLibrary.IsSingleSelection Method

True if there is only one selected item on the active document window or tool window.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaración
Protected Function IsSingleSelection As Boolean
protected bool IsSingleSelection()
protected:
bool IsSingleSelection()
member IsSingleSelection : unit -> bool 
protected function IsSingleSelection() : boolean

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

CommandSetLibrary Class

Microsoft.VisualStudio.Modeling.Shell Namespace