Partager via


CommandSetLibrary.IsAnyDocumentSelectionCompartment Method

True if any of the items in the selection list is a compartment.

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

Syntax

'Declaration
Protected Function IsAnyDocumentSelectionCompartment As Boolean
protected bool IsAnyDocumentSelectionCompartment()
protected:
bool IsAnyDocumentSelectionCompartment()
member IsAnyDocumentSelectionCompartment : unit -> bool
protected function IsAnyDocumentSelectionCompartment() : boolean

Return Value

Type: System.Boolean
If true, at least one of the items is a compartment.

.NET Framework Security

See Also

Reference

CommandSetLibrary Class

Microsoft.VisualStudio.Modeling.Shell Namespace