AssociatedMetadataTypeTypeDescriptionProvider Constructor (Type^, Type^)
.NET Framework (current version)
Initializes a new instance of the AssociatedMetadataTypeTypeDescriptionProvider class by using the specified metadata provider type and associated type.
Assembly: System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)
public:
AssociatedMetadataTypeTypeDescriptionProvider(
Type^ type,
Type^ associatedMetadataType
)
Parameters
- type
-
Type:
System::Type^
The type for which the metadata provider is created.
- associatedMetadataType
-
Type:
System::Type^
The associated type that contains the metadata.
| Exception | Condition |
|---|---|
| ArgumentNullException | The value of associatedMetadataType is null. |
.NET Framework
Available since 3.5
Available since 3.5
Show: