ModelMetadata Methods

Include Protected Members
Include Inherited Members

The ModelMetadata type exposes the following members.

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public methodStatic member FromLambdaExpression<TParameter, TValue> Returns the metadata from the Expression parameter for the model.
Public methodStatic member FromStringExpression Gets the metadata from the expression parameter for the model.
Public method GetDisplayName Gets the display name for the model.
Public method GetHashCode (Inherited from Object.)
Protected method GetSimpleDisplayText Returns the simple description of the model.
Public method GetType (Inherited from Object.)
Public method GetValidators Gets a list of validators for the model.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

ModelMetadata Class

System.Web.Mvc Namespace