CodeGenerationUtilities.DefinesDiagramElements 方法
如果指定的 DslLibrary 會定義圖表項目,則為 true,否則為 false。 圖表項目是 DslLibrary.DiagramElements 中所包含的項目加上圖表 (如果有定義圖表的話)。
命名空間: Microsoft.VisualStudio.Modeling.DslDefinition
組件: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)
語法
'宣告
Public Shared Function DefinesDiagramElements ( _
dslLibrary As DslLibrary _
) As Boolean
public static bool DefinesDiagramElements(
DslLibrary dslLibrary
)
參數
- dslLibrary
類型:Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。