AssociatedMetadataProvider.GetMetadataForProperties Method

Returns a list of properties for the model.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

'Declaration
Public Overrides Function GetMetadataForProperties ( _
	container As Object, _
	containerType As Type _
) As IEnumerable(Of ModelMetadata)
'Usage
Dim instance As AssociatedMetadataProvider 
Dim container As Object 
Dim containerType As Type 
Dim returnValue As IEnumerable(Of ModelMetadata)

returnValue = instance.GetMetadataForProperties(container, _
	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(Of ModelMetadata)
A list of properties for the model.
Show: