Compartir a través de


ModelMetadata.GetMetadataForType(Type) Método

Definición

Proporciona metadatos que describen un Type.

public:
 virtual Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ GetMetadataForType(Type ^ modelType);
public virtual 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
Public Overridable Function GetMetadataForType (modelType As Type) As ModelMetadata

Parámetros

modelType
Type

Type.

Devoluciones

Instancia ModelMetadata de que describe .Type

Implementaciones

Se aplica a