DefaultModelMetadata.GetMetadataForType(Type) Method

Definition

Supplies metadata describing a Type.

public:
 override Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ GetMetadataForType(Type ^ modelType);
public override Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata GetMetadataForType (Type modelType);
override this.GetMetadataForType : Type -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata
Public Overrides Function GetMetadataForType (modelType As Type) As ModelMetadata

Parameters

modelType
Type

The Type.

Returns

A ModelMetadata instance describing the Type.

Applies to