ModelMetadataProvider Class

 

Provides an abstract base class for a custom metadata provider.

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


No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_protmethodModelMetadataProvider()

When overridden in a derived class, initializes a new instance of the object that derives from the ModelMetadataProvider class.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetMetadataForProperties(Object, Type)

Gets a ModelMetadata object for each property of a model.

System_CAPS_pubmethodGetMetadataForProperty(Func<Object>, Type, String)

Gets metadata for the specified property.

System_CAPS_pubmethodGetMetadataForType(Func<Object>, Type)

Gets metadata for the specified model accessor and model type.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

The AssociatedMetadataProvider class is an implementation of this abstract class.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: