ModelMetadataProvider.GetMetadataForType(Type) Método

Definición

Proporciona metadatos que describen un Type.

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

Parámetros

modelType
Type

El parámetro de cadena de consulta Type.

Devoluciones

ModelMetadata

Instancia ModelMetadata de que describe .Type

Implementaciones

Se aplica a