ModelMetadata.FromStringExpression Method
Gets the metadata from the expression parameter for the model.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
public static function FromStringExpression( expression : String, viewData : ViewDataDictionary ) : ModelMetadata
Parameters
- expression
- Type: System.String
An expression that identifies the model.
- viewData
- Type: System.Web.Mvc.ViewDataDictionary
The view data dictionary.
Show: