ViewDataDictionary.GetViewDataInfo Method (String)
Returns information about the view data as defined by the expression parameter.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- expression
-
Type:
System.String
A set of key/value pairs that define the view-data information to return.
Return Value
Type: System.Web.Mvc.ViewDataInfoAn object that contains the view data information that is defined by the expression parameter.
| Exception | Condition |
|---|---|
| ArgumentException | The expression parameter is either null or empty. |
Show: