CodeGenerationUtilities.GetDesigner 方法
取得指定之 DslLibrary 中定義的設計工具。
命名空間: Microsoft.VisualStudio.Modeling.DslDefinition
組件: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)
語法
'宣告
Public Shared Function GetDesigner ( _
dslLibrary As DslLibrary _
) As Designer
public static Designer GetDesigner(
DslLibrary dslLibrary
)
參數
- dslLibrary
類型:Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary
將傳回其已定義之設計工具的 DslLibrary 執行個體。
傳回值
類型:Microsoft.VisualStudio.Modeling.DslDefinition.Designer
指定 DslLibrary 中定義的設計工具,若未定義則為 null。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。