Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns information about the view data as defined by the expression parameter.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Function GetViewDataInfo ( _
expression As String _
) As ViewDataInfo
public ViewDataInfo GetViewDataInfo(
string expression
)
public:
ViewDataInfo^ GetViewDataInfo(
String^ expression
)
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.ViewDataInfo
An object that contains the view data information that is defined by the expression parameter.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The expression parameter is either null reference (Nothing in Visual Basic) or empty. |