ModelMetadata.GetMetadataForProperties(Type) Metoda

Definicja

Dostarcza metadane opisujące właściwości elementu 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)

Parametry

modelType
Type

Element Type.

Zwraca

Zestaw ModelMetadata wystąpień opisujących właściwości elementu Type.

Implementuje

Dotyczy