AssociatedMetadataProvider.GetMetadataForProperties(Object, Type) Метод

Определение

При переопределении в производном классе возвращает метаданные для всех свойств.

public:
 override System::Collections::Generic::IEnumerable<System::Web::ModelBinding::ModelMetadata ^> ^ GetMetadataForProperties(System::Object ^ container, Type ^ containerType);
public override System.Collections.Generic.IEnumerable<System.Web.ModelBinding.ModelMetadata> GetMetadataForProperties (object container, Type containerType);
override this.GetMetadataForProperties : obj * Type -> seq<System.Web.ModelBinding.ModelMetadata>
Public Overrides Function GetMetadataForProperties (container As Object, containerType As Type) As IEnumerable(Of ModelMetadata)

Параметры

container
Object

Контейнер.

containerType
Type

Тип контейнера.

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

Метаданные для всех свойств.

Исключения

Параметр containerType имеет значение null.

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