The IViewResult T generic type exposes the following members.
Properties
Name | Description | |
---|---|---|
Error |
A View engine specific error message if one occured.
| |
Exception |
If Success is false and an exception has been caught internally, this field will contain the exception.
(Inherited from IResult.) | |
Message |
If the operation wasn't succesful, a message indicating why it was not succesful.
(Inherited from IResult.) | |
Rows |
The results of the query if successful as a IEnumerable T .
| |
StatusCode |
The HTTP Status Code for the request
| |
Success |
Returns true if the operation was succesful.
(Inherited from IResult.) | |
TotalRows |
The total number of rows returned by the View request.
| |
Values |
Returns the value of each element within the Rows property as a IEnumerable T .
|
See Also