IModelMetadataProvider.GetMetadataForProperties(Type) Метод

Определение

Предоставляет метаданные, описывающие свойства объекта Type.

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)

Параметры

modelType
Type

Type.

Возвращаемое значение

Набор экземпляров ModelMetadata , описывающих свойства Typeобъекта .

Применяется к