共用方式為


ModelingDocView.HasSelectableObjects 屬性

取得文件視窗,並且如果開啟的文件視窗時,可以讓選取物件選項。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

語法

'宣告
Protected Overrides ReadOnly Property HasSelectableObjects As Boolean
protected override bool HasSelectableObjects { get; }

屬性值

型別:System.Boolean
true 如果選取物件選項未啟用。 否則, false。

備註

根據預設,這個值是false。

.NET Framework 安全性

請參閱

參考

ModelingDocView 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間