ModelDataSourceView.CreateSelectResult Method (Object)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the result of a Select operation after converting it to an IEnumerable collection if it is not already one.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

Protected Overridable Function CreateSelectResult (
	result As Object
) As IEnumerable


Type: System.Object

The result of a Select operation.

Return Value

Type: System.Collections.IEnumerable

The result of a Select operation, converted to an IEnumerable collection if it was not originally one.

Exception Condition

The return value is not the correct type.

.NET Framework
Available since 4.5
Return to top