Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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:
© 2015 Microsoft