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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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: Boolean
true if the Select Objects command should be enabled; otherwise, false.
Remarks
By default, this value is false.
.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.