Partager via


DefaultModelMetadata.GetMetadataForType(Type) Méthode

Définition

Fournit des métadonnées décrivant un Type.

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

Paramètres

modelType
Type

L’Typeopérateur

Retours

Instance ModelMetadata décrivant .Type

S’applique à