IModelMetadataProvider.GetMetadataForType(Type) Méthode

Définition

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

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

Paramètres

modelType
Type

L’Typeopérateur

Retours

Instance ModelMetadata décrivant .Type

S’applique à