ModelMetadataProvider Class
Provides an abstract base class for a custom metadata provider.
Assembly: System.Web (in System.Web.dll)
System.Web.ModelBinding::ModelMetadataProvider
System.Web.ModelBinding::AssociatedMetadataProvider
| Name | Description | |
|---|---|---|
![]() | ModelMetadataProvider() | When overridden in a derived class, initializes a new instance of the object that derives from the ModelMetadataProvider class. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetMetadataForProperties(Object^, Type^) | Returns a ModelMetadata object for all properties of a model. |
![]() | GetMetadataForProperty(Func<Object^>^, Type^, String^) | Returns metadata for the specified property. |
![]() | GetMetadataForType(Func<Object^>^, Type^) | Returns metadata for the specified model type. |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Available since 4.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

