Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CachedAssociatedMetadataProvider<TModelMetadata>.GetMetadataForProperty Method (Func<Object>, Type, String)

Returns the metadata for the specified property.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public override sealed ModelMetadata GetMetadataForProperty(
	Func<Object> modelAccessor,
	Type containerType,
	string propertyName
)

Parameters

modelAccessor
Type: System.Func<Object>

The model accessor.

containerType
Type: System.Type

The container type.

propertyName
Type: System.String

The property name.

Return Value

Type: System.Web.Mvc.ModelMetadata
The metadata for the specified property.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.