AssociatedMetadataProvider.GetMetadataForProperties Method (Object, Type)
Returns a list of properties for the model.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
public override IEnumerable<ModelMetadata> GetMetadataForProperties( object container, Type containerType )
Parameters
- container
-
Type:
System.Object
The model container.
- containerType
-
Type:
System.Type
The type of the container.
Return Value
Type: System.Collections.Generic.IEnumerable<ModelMetadata>A list of properties for the model.
Show: