AssociatedMetadataProvider.GetMetadataForProperties(Object, Type) AssociatedMetadataProvider.GetMetadataForProperties(Object, Type) AssociatedMetadataProvider.GetMetadataForProperties(Object, Type) Method

Definition

Returns a list of properties for the model.

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

Parameters

container
Object Object Object

The model container.

containerType
Type Type Type

The type of the container.

Returns

A list of properties for the model.

Applies to