AssociatedMetadataTypeTypeDescriptionProvider Constructors

Definition

Initializes a new instance of the AssociatedMetadataTypeTypeDescriptionProvider class.

Overloads

AssociatedMetadataTypeTypeDescriptionProvider(Type)

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

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.

public:
 AssociatedMetadataTypeTypeDescriptionProvider(Type ^ type);
public AssociatedMetadataTypeTypeDescriptionProvider (Type type);
new System.ComponentModel.DataAnnotations.AssociatedMetadataTypeTypeDescriptionProvider : Type -> System.ComponentModel.DataAnnotations.AssociatedMetadataTypeTypeDescriptionProvider

Parameters

type
Type

The type for which the metadata provider is created.

AssociatedMetadataTypeTypeDescriptionProvider(Type, Type)

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

public:
 AssociatedMetadataTypeTypeDescriptionProvider(Type ^ type, Type ^ associatedMetadataType);
public AssociatedMetadataTypeTypeDescriptionProvider (Type type, Type associatedMetadataType);
new System.ComponentModel.DataAnnotations.AssociatedMetadataTypeTypeDescriptionProvider : Type * Type -> System.ComponentModel.DataAnnotations.AssociatedMetadataTypeTypeDescriptionProvider

Parameters

type
Type

The type for which the metadata provider is created.

associatedMetadataType
Type

The associated type that contains the metadata.

Exceptions

The value of associatedMetadataType is null.

Applies to