共用方式為


ModelingDocView.HasSelectableObjects Property

Gets the document window and if the document window is open, enables the Select Objects option.

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 option is enabled; otherwise, false.

Remarks

By default, this value is false.

.NET Framework Security

See Also

Reference

ModelingDocView Class

Microsoft.VisualStudio.Modeling.Shell Namespace