IModelMetadataProvider.GetMetadataForProperties(Type) Methode

Definition

Stellt Metadaten bereit, die die Eigenschaften eines Typebeschreiben.

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

Parameter

modelType
Type

Die Type.

Gibt zurück

Eine Reihe von ModelMetadata Instanzen, die TypeEigenschaften von beschreiben.

Gilt für: