AssociatedMetadataTypeTypeDescriptionProvider 類別
定義
會以加入於關聯類別中定義之屬性 (Attribute) 及屬性 (Property) 資訊的方式,延伸類別中繼資料的資訊。Extends the metadata information for a class by adding attributes and property information that is defined in an associated class.
public ref class AssociatedMetadataTypeTypeDescriptionProvider : System::ComponentModel::TypeDescriptionProvider
public class AssociatedMetadataTypeTypeDescriptionProvider : System.ComponentModel.TypeDescriptionProvider
type AssociatedMetadataTypeTypeDescriptionProvider = class
inherit TypeDescriptionProvider
Public Class AssociatedMetadataTypeTypeDescriptionProvider
Inherits TypeDescriptionProvider
- 繼承
備註
類別會藉 AssociatedMetadataTypeTypeDescriptionProvider 由加入、修改或隱藏特性(例如屬性、屬性和事件),以動態方式擴充與類型或物件相關聯的類型資訊。The AssociatedMetadataTypeTypeDescriptionProvider class dynamically extends the type information associated with a type or object by adding, modifying, or hiding characteristics such as attributes, properties, and events. 如需詳細資訊,請參閱TypeDescriptor。For more information, see TypeDescriptor.
建構函式
AssociatedMetadataTypeTypeDescriptionProvider(Type) |
使用指定的型別來初始化 AssociatedMetadataTypeTypeDescriptionProvider 類別的新執行個體。Initializes a new instance of the AssociatedMetadataTypeTypeDescriptionProvider class by using the specified type. |
AssociatedMetadataTypeTypeDescriptionProvider(Type, Type) |
使用指定的中繼資料提供者類型和相關聯的類型,初始化 AssociatedMetadataTypeTypeDescriptionProvider 類別的新執行個體。Initializes a new instance of the AssociatedMetadataTypeTypeDescriptionProvider class by using the specified metadata provider type and associated type. |
方法
CreateInstance(IServiceProvider, Type, Type[], Object[]) |
建立可以代替另一種資料類型的物件。Creates an object that can substitute for another data type. (繼承來源 TypeDescriptionProvider) |
Equals(Object) |
判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object. (繼承來源 Object) |
GetCache(Object) |
取得個別物件的快取,以索引鍵/值組的 IDictionary 方式存取。Gets a per-object cache, accessed as an IDictionary of key/value pairs. (繼承來源 TypeDescriptionProvider) |
GetExtendedTypeDescriptor(Object) |
取得特定物件的擴充自訂型別描述項。Gets an extended custom type descriptor for the given object. (繼承來源 TypeDescriptionProvider) |
GetExtenderProviders(Object) |
取得指定之物件的擴充項提供者。Gets the extender providers for the specified object. (繼承來源 TypeDescriptionProvider) |
GetFullComponentName(Object) |
取得指定之元件的名稱,或 |
GetHashCode() |
做為預設雜湊函式。Serves as the default hash function. (繼承來源 Object) |
GetReflectionType(Object) |
對指定的物件執行一般反映。Performs normal reflection against the given object. (繼承來源 TypeDescriptionProvider) |
GetReflectionType(Type) |
對型別執行一般反映。Performs normal reflection against a type. (繼承來源 TypeDescriptionProvider) |
GetReflectionType(Type, Object) |
對具有特定型別的特定物件執行一般反映。Performs normal reflection against the given object with the given type. (繼承來源 TypeDescriptionProvider) |
GetRuntimeType(Type) |
將反映型別轉換成執行階段型別。Converts a reflection type into a runtime type. (繼承來源 TypeDescriptionProvider) |
GetType() |
取得目前執行個體的 Type。Gets the Type of the current instance. (繼承來源 Object) |
GetTypeDescriptor(Object) |
取得特定物件的自訂型別描述項。Gets a custom type descriptor for the given object. (繼承來源 TypeDescriptionProvider) |
GetTypeDescriptor(Type) |
取得特定型別的自訂型別描述項。Gets a custom type descriptor for the given type. (繼承來源 TypeDescriptionProvider) |
GetTypeDescriptor(Type, Object) |
取得指定型別和物件的型別描述項。Gets a type descriptor for the specified type and object. |
IsSupportedType(Type) |
取得值,這個值指出指定的型別是否與型別描述及其型別描述提供者的鏈結相容。Gets a value that indicates whether the specified type is compatible with the type description and its chain of type description providers. (繼承來源 TypeDescriptionProvider) |
MemberwiseClone() |
建立目前 Object 的淺層複製。Creates a shallow copy of the current Object. (繼承來源 Object) |
ToString() |
傳回代表目前物件的字串。Returns a string that represents the current object. (繼承來源 Object) |