AssociatedMetadataTypeTypeDescriptionProvider Constructor (Type^, Type^)

 

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

Namespace:   System.ComponentModel.DataAnnotations
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
Return to top
Show: