Поделиться через


ModelValidator.Metadata Property

Gets the metadata for the model validator.

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

Syntax

'Declaration
Protected Friend Property Metadata As ModelMetadata
    Get
    Private Set
protected internal ModelMetadata Metadata { get; private set; }
protected public:
property ModelMetadata^ Metadata {
    ModelMetadata^ get ();
    private: void set (ModelMetadata^ value);
}

Property Value

Type: System.Web.Mvc.ModelMetadata
The metadata for the model validator.

See Also

Reference

ModelValidator Class

System.Web.Mvc Namespace