Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AssociatedMetadataTypeTypeDescriptionProvider Class

 

Extends the metadata information for a class by adding attributes and property information that is defined in an associated class.

Namespace:   System.ComponentModel.DataAnnotations
Assembly:  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

System::Object
  System.ComponentModel::TypeDescriptionProvider
    System.ComponentModel.DataAnnotations::AssociatedMetadataTypeTypeDescriptionProvider

public ref class AssociatedMetadataTypeTypeDescriptionProvider : TypeDescriptionProvider

NameDescription
System_CAPS_pubmethodAssociatedMetadataTypeTypeDescriptionProvider(Type^)

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

System_CAPS_pubmethodAssociatedMetadataTypeTypeDescriptionProvider(Type^, Type^)

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

NameDescription
System_CAPS_pubmethodCreateInstance(IServiceProvider^, Type^, array<Type^>^, array<Object^>^)

Creates an object that can substitute for another data type.(Inherited from TypeDescriptionProvider.)

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetCache(Object^)

Gets a per-object cache, accessed as an IDictionary of key/value pairs.(Inherited from TypeDescriptionProvider.)

System_CAPS_pubmethodGetExtendedTypeDescriptor(Object^)

Gets an extended custom type descriptor for the given object.(Inherited from TypeDescriptionProvider.)

System_CAPS_protmethodGetExtenderProviders(Object^)

Gets the extender providers for the specified object.(Inherited from TypeDescriptionProvider.)

System_CAPS_pubmethodGetFullComponentName(Object^)

Gets the name of the specified component, or null if the component has no name.(Inherited from TypeDescriptionProvider.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetReflectionType(Object^)

Performs normal reflection against the given object.(Inherited from TypeDescriptionProvider.)

System_CAPS_pubmethodGetReflectionType(Type^)

Performs normal reflection against a type.(Inherited from TypeDescriptionProvider.)

System_CAPS_pubmethodGetReflectionType(Type^, Object^)

Performs normal reflection against the given object with the given type.(Inherited from TypeDescriptionProvider.)

System_CAPS_pubmethodGetRuntimeType(Type^)

Converts a reflection type into a runtime type.(Inherited from TypeDescriptionProvider.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetTypeDescriptor(Object^)

Gets a custom type descriptor for the given object.(Inherited from TypeDescriptionProvider.)

System_CAPS_pubmethodGetTypeDescriptor(Type^)

Gets a custom type descriptor for the given type.(Inherited from TypeDescriptionProvider.)

System_CAPS_pubmethodGetTypeDescriptor(Type^, Object^)

Gets a type descriptor for the specified type and object.(Overrides TypeDescriptionProvider::GetTypeDescriptor(Type^, Object^).)

System_CAPS_pubmethodIsSupportedType(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.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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.

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2017 Microsoft