다음을 통해 공유


ToolWindow.HasSelectableObjects Property

Gets the tool window disables the Select Objects command if a document is not loaded.

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 Overrides ReadOnly Property HasSelectableObjects As Boolean
protected override bool HasSelectableObjects { get; }
protected:
virtual property bool HasSelectableObjects {
    bool get () override;
}
abstract HasSelectableObjects : bool with get 
override HasSelectableObjects : bool with get
override function get HasSelectableObjects () : boolean

Property Value

Type: System.Boolean
true if the Select Objects command should be enabled; otherwise, false.

Remarks

By default, this value is false.

.NET Framework Security

See Also

Reference

ToolWindow Class

Microsoft.VisualStudio.Modeling.Shell Namespace