ModelMetadataProviders Class

 

Provides a container for the current ModelMetadataProvider instance.

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

Inheritance Hierarchy

System.Object
  System.Web.Mvc.ModelMetadataProviders

Syntax

public class ModelMetadataProviders
public ref class ModelMetadataProviders 
type ModelMetadataProviders = class end
Public Class ModelMetadataProviders

Properties

Name Description
System_CAPS_pubpropertySystem_CAPS_static Current

Gets or sets the current ModelMetadataProvider object.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

The default ModelMetadataProvider object is an instance of the DataAnnotationsModelMetadataProvider class.

Thread Safety

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

See Also

System.Web.Mvc Namespace

Return to top