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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'宣告
Protected Overrides ReadOnly Property HasSelectableObjects As Boolean
Get
protected override bool HasSelectableObjects { get; }
protected:
virtual property bool HasSelectableObjects {
bool get () override;
}
abstract HasSelectableObjects : bool
override HasSelectableObjects : bool
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
- 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.