ModelMetadata.GetMetadataForProperties(Type) Méthode

Définition

Fournit des métadonnées décrivant les propriétés d’un Type.

public:
 virtual 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);
abstract member 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)

Paramètres

modelType
Type

L’Typeopérateur

Retours

Ensemble d’instances ModelMetadata décrivant les propriétés de .Type

Implémente

S’applique à