CachedAssociatedMetadataProvider(Of TModelMetadata).GetMetadataForProperties Method

Gets the metadata for the properties.

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

'Declaration
Public Overrides NotOverridable Function GetMetadataForProperties ( _
	container As Object, _
	containerType As Type _
) As IEnumerable(Of ModelMetadata)
'Usage
Dim instance As CachedAssociatedMetadataProvider 
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 container.

containerType
Type: System.Type

The container type.

Return Value

Type: System.Collections.Generic.IEnumerable(Of ModelMetadata)
The metadata for the properties.
Show: