Udostępnij za pośrednictwem


AssociatedMetadataProvider.GetMetadataForProperty Method

Include Protected Members
Include Inherited Members

Returns the metadata for the specified property.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Protected method GetMetadataForProperty(Func<Object>, Type, PropertyDescriptor) Returns the metadata for the specified property using the container type and property descriptor.
Public method GetMetadataForProperty(Func<Object>, Type, String) Returns the metadata for the specified property using the container type and property name. (Overrides ModelMetadataProvider.GetMetadataForProperty(Func<Object>, Type, String).)

Top

See Also

Reference

AssociatedMetadataProvider Class

System.Web.Mvc Namespace