共用方式為


PresentationElementTypeDescriptionProvider 類別

注意:這個應用程式開發介面現在已經過時。

PresentationElementTypeDescriptionProvider 提供包裝函式類別會封裝的 ModelElement 物件。當想要呈現的 ModelElement 物件的屬性方格,這個類別會叫用。

繼承階層架構

System.Object
  System.ComponentModel.TypeDescriptionProvider
    Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptionProvider
      Microsoft.VisualStudio.Modeling.Diagrams.PresentationElementTypeDescriptionProvider

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

語法

'宣告
<ObsoleteAttribute("This class is redundant and may be removed in a later version. Derive from ElementTypeDescriptor instead.",  _
    True)> _
Public Class PresentationElementTypeDescriptionProvider _
    Inherits ElementTypeDescriptionProvider
[ObsoleteAttribute("This class is redundant and may be removed in a later version. Derive from ElementTypeDescriptor instead.", 
    true)]
public class PresentationElementTypeDescriptionProvider : ElementTypeDescriptionProvider

PresentationElementTypeDescriptionProvider 型別會公開下列成員。

建構函式

  名稱 說明
公用方法 PresentationElementTypeDescriptionProvider

回頁首

方法

  名稱 說明
受保護的方法 CreateCustomTypeDescriptor(ICustomTypeDescriptor, ModelElement) 在衍生類別可提供 ICustomTypeDescriptor (也就不需要是 ElementTypeDescriptor)。基底實作只會呼叫建立 ElementTypeDescriptor 的 CreateTypeDescriptor()。 (繼承自 ElementTypeDescriptionProvider)。
受保護的方法 CreateCustomTypeDescriptor(ICustomTypeDescriptor, Type) 在衍生類別可提供 ICustomTypeDescriptor (也就不需要是 ElementTypeDescriptor)。基底實作只會呼叫建立 ElementTypeDescriptor 的 CreateTypeDescriptor()。 (繼承自 ElementTypeDescriptionProvider)。
公用方法 CreateInstance 建立可以取代另一個資料型別的物件。 (繼承自 TypeDescriptionProvider)。
受保護的方法 CreatePresentationElementTypeDescriptor 建立新 PresentationElementTypeDescriptor 的屬性方格來呈現內容。類別是衍生自 PresentationElementTypeDescriptionProvider 可以覆寫這個方法,以提供他/她自己的型別描述項。
受保護的方法 CreateTypeDescriptor(ICustomTypeDescriptor, Type) 在衍生類別可提供自訂的型別描述項。 (繼承自 ElementTypeDescriptionProvider)。
受保護的方法 CreateTypeDescriptor(ICustomTypeDescriptor, ModelElement) 提供 PresentationElement 的自訂型別描述項。 (覆寫 ElementTypeDescriptionProvider.CreateTypeDescriptor(ICustomTypeDescriptor, ModelElement)。)
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
受保護的方法 Finalize 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。
公用方法 GetCache 取得個別物件的快取,以索引鍵/值組的 IDictionary 方式存取。 (繼承自 TypeDescriptionProvider)。
公用方法 GetExtendedTypeDescriptor 取得特定物件的擴充自訂型別描述項。 (繼承自 TypeDescriptionProvider)。
受保護的方法 GetExtenderProviders 取得指定之物件的擴充項提供者。 (繼承自 TypeDescriptionProvider)。
公用方法 GetFullComponentName 取得指定之元件的名稱,或 nullnull 參考 (即 Visual Basic 中的 Nothing) (如果元件沒有名稱)。 (繼承自 TypeDescriptionProvider)。
公用方法 GetHashCode 做為特定型別的雜湊函式。 (繼承自 Object)。
公用方法 GetReflectionType(Type) 對型別執行一般反映。 (繼承自 TypeDescriptionProvider)。
公用方法 GetReflectionType(Object) 對指定的物件執行一般反映。 (繼承自 TypeDescriptionProvider)。
公用方法 GetReflectionType(Type, Object) 對具有特定型別的特定物件執行一般反映。 (繼承自 TypeDescriptionProvider)。
公用方法 GetRuntimeType 將反映型別轉換成執行階段型別。 (繼承自 TypeDescriptionProvider)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
公用方法 GetTypeDescriptor(Type) 取得特定型別的自訂型別描述項。 (繼承自 TypeDescriptionProvider)。
公用方法 GetTypeDescriptor(Object) 取得特定物件的自訂型別描述項。 (繼承自 TypeDescriptionProvider)。
公用方法 GetTypeDescriptor(Type, Object) 取得特定型別和物件的自訂型別描述項。 (繼承自 ElementTypeDescriptionProvider)。
公用方法 IsSupportedType 取得值,這個值指出指定的型別是否與型別描述及其型別描述提供者的鏈結相容。 (繼承自 TypeDescriptionProvider)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.Modeling.Diagrams 命名空間