Compartir a través de


DefaultModelMetadataProvider.GetMetadataForProperties(Type) Método

Definición

Proporciona metadatos que describen las propiedades de un Typeobjeto .

public:
 virtual System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^> ^ GetMetadataForProperties(Type ^ modelType);
public:
 override System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^> ^ GetMetadataForProperties(Type ^ modelType);
public virtual System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata> GetMetadataForProperties (Type modelType);
public override System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata> GetMetadataForProperties (Type modelType);
abstract member GetMetadataForProperties : Type -> seq<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata>
override this.GetMetadataForProperties : Type -> seq<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata>
override this.GetMetadataForProperties : Type -> seq<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata>
Public Overridable Function GetMetadataForProperties (modelType As Type) As IEnumerable(Of ModelMetadata)
Public Overrides Function GetMetadataForProperties (modelType As Type) As IEnumerable(Of ModelMetadata)

Parámetros

modelType
Type

Type.

Devoluciones

Un conjunto de instancias que ModelMetadata describen las propiedades de .Type

Implementaciones

Se aplica a