Compartir a través de


DefaultModelMetadataProvider.GetMetadataForType(Type) Método

Definición

Proporciona metadatos que describen un Typeobjeto .

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

Parámetros

modelType
Type

Type.

Devoluciones

Instancia ModelMetadata de que describe .Type

Implementaciones

Se aplica a