Szerkesztés

Megosztás a következőn keresztül:


AssociatedMetadataTypeTypeDescriptionProvider Class

Definition

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
Inheritance
AssociatedMetadataTypeTypeDescriptionProvider

Remarks

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. For more information, see TypeDescriptor.

Constructors

AssociatedMetadataTypeTypeDescriptionProvider(Type, Type)

Initializes a new instance of the AssociatedMetadataTypeTypeDescriptionProvider class by using the specified metadata provider type and associated type.

AssociatedMetadataTypeTypeDescriptionProvider(Type)

Initializes a new instance of the AssociatedMetadataTypeTypeDescriptionProvider class by using the specified type.

Properties

RequireRegisteredTypes

Gets a value that indicates whether the provider uses reflection and requires types to be registered through RegisterType<T>() to support trimmed applications.

(Inherited from TypeDescriptionProvider)

Methods

CreateInstance(IServiceProvider, Type, Type[], Object[])

Creates an object that can substitute for another data type.

(Inherited from TypeDescriptionProvider)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetCache(Object)

Gets a per-object cache, accessed as an IDictionary of key/value pairs.

(Inherited from TypeDescriptionProvider)
GetExtendedTypeDescriptor(Object)

Gets an extended custom type descriptor for the given object.

(Inherited from TypeDescriptionProvider)
GetExtendedTypeDescriptorFromRegisteredType(Object)

Returns an extended custom type descriptor for the given object.

(Inherited from TypeDescriptionProvider)
GetExtenderProviders(Object)

Gets the extender providers for the specified object.

(Inherited from TypeDescriptionProvider)
GetFullComponentName(Object)

Gets the name of the specified component, or null if the component has no name.

(Inherited from TypeDescriptionProvider)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetReflectionType(Object)

Performs normal reflection against the given object.

(Inherited from TypeDescriptionProvider)
GetReflectionType(Type, Object)

Performs normal reflection against the given object with the given type.

(Inherited from TypeDescriptionProvider)
GetReflectionType(Type)

Performs normal reflection against a type.

(Inherited from TypeDescriptionProvider)
GetRuntimeType(Type)

Converts a reflection type into a runtime type.

(Inherited from TypeDescriptionProvider)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetTypeDescriptor(Object)

Gets a custom type descriptor for the given object.

(Inherited from TypeDescriptionProvider)
GetTypeDescriptor(Type, Object)

Gets a type descriptor for the specified type and object.

GetTypeDescriptor(Type)

Gets a custom type descriptor for the given type.

(Inherited from TypeDescriptionProvider)
GetTypeDescriptorFromRegisteredType(Object)

Returns a custom type descriptor for the given type or object.

(Inherited from TypeDescriptionProvider)
GetTypeDescriptorFromRegisteredType(Type, Object)

Returns a custom type descriptor for the given type or object.

(Inherited from TypeDescriptionProvider)
GetTypeDescriptorFromRegisteredType(Type)

Returns a custom type descriptor for the given type or object.

(Inherited from TypeDescriptionProvider)
IsRegisteredType(Type)

Determines whether the type was registered with its provider through RegisterType<T>().

(Inherited from TypeDescriptionProvider)
IsSupportedType(Type)

Gets a value that indicates whether the specified type is compatible with the type description and its chain of type description providers.

(Inherited from TypeDescriptionProvider)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RegisterType<T>()

Registers the type so it can be used by reflection-based providers in trimmed applications.

(Inherited from TypeDescriptionProvider)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also