PresentationElementHelper 類別
這個類別包含 PresentationElement 類別的擴充方法。
繼承階層架構
System.Object
Microsoft.VisualStudio.Modeling.DslDesigner.PresentationElementHelper
命名空間: Microsoft.VisualStudio.Modeling.DslDesigner
組件: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)
語法
'宣告
<ExtensionAttribute> _
Public NotInheritable Class PresentationElementHelper
public static class PresentationElementHelper
PresentationElementHelper 類型會公開下列成員。
方法
名稱 | 描述 | |
---|---|---|
![]() ![]() |
GetDslDefinitionModelElement | 這個方法保證傳回對應於 PresentationElement 的真實模型項目。 就 DslDesigner PEL 而言,對應的主題實際上可能是內部 TreeNode 類別而不是實際的 MEL。 這個方法正確地處理這些案例,如此會傳回實際的 MEL。 |
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。