Partager via


ModelBindingContext.ModelMetadata Property

Gets or sets the model metadata.

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

Syntax

'Declaration
Public Property ModelMetadata As ModelMetadata
    Get
    Set
public ModelMetadata ModelMetadata { get; set; }
public:
property ModelMetadata^ ModelMetadata {
    ModelMetadata^ get ();
    void set (ModelMetadata^ value);
}

Property Value

Type: System.Web.Mvc.ModelMetadata
The model metadata.

See Also

Reference

ModelBindingContext Class

System.Web.Mvc Namespace