AssociatedMetadataTypeTypeDescriptionProvider Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Public Sub New (type As Type)
Parameters
- type
- Type
The type for which the metadata provider is created.
Applies to
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
Public Sub New (type As Type, associatedMetadataType As Type)
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
.