AssociatedMetadataTypeTypeDescriptionProvider 类

定义

通过添加在关联类中定义的特性和属性信息,从而扩展某个类的元数据信息。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

注解

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. 有关详细信息,请参阅 TypeDescriptorFor 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)

获取指定的组件的名称,如果指定的组件没有名称,则为 nullGets the name of the specified component, or null if the component has no name.

(继承自 TypeDescriptionProvider)
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()

获取当前实例的 TypeGets 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)

适用于

另请参阅