IModelMetadataProvider.GetMetadataForType(Type) Methode

Definition

Stellt Metadaten bereit, die einen Typebeschreiben.

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

Parameter

modelType
Type

Die Type.

Gibt zurück

Eine ModelMetadata instance, die die Typebeschreibt.

Gilt für: