ModelDataSourceView.CreateSelectResult Method (Object)
.NET Framework (current version)
Returns the result of a Select operation after converting it to an IEnumerable collection if it is not already one.
Assembly: System.Web (in System.Web.dll)
Parameters
- result
-
Type:
System.Object
The result of a Select operation.
Return Value
Type: System.Collections.IEnumerableThe result of a Select operation, converted to an IEnumerable collection if it was not originally one.
| Exception | Condition |
|---|---|
| InvalidOperationException | The return value is not the correct type. |
.NET Framework
Available since 4.5
Available since 4.5
Show: