IModelMetadataProvider.GetMetadataForType(Type) Metodo

Definizione

Fornisce i metadati che descrivono un oggetto 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

Parametri

modelType
Type

Oggetto Type.

Restituisce

ModelMetadata Istanza di che descrive .Type

Si applica a