IModelMetadataProvider.GetMetadataForType(Type) Metoda

Definicja

Dostarcza metadane opisujące element Type.

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

Parametry

modelType
Type

Element Type.

Zwraca

Wystąpienie ModelMetadata opisujące element Type.

Dotyczy