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.

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

protected:
virtual IEnumerable^ CreateSelectResult(
	Object^ result
)

Parameters

result
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
InvalidOperationException

The return value is not the correct type.

.NET Framework
Available since 4.5
Return to top
Show: