共用方式為


ModelingPackage.SetupMode 屬性

取得模型封裝,並確認是否正在設定 Domain-Specific Language Designer。

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

語法

'宣告
Protected ReadOnly Property SetupMode As Boolean
protected bool SetupMode { get; }

屬性值

類型:System.Boolean
如果設計工具處於安裝模式,則為 true,否則為 false。

.NET Framework 安全性

請參閱

參考

ModelingPackage 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間