Retrieves and executes the specified data source view, and returns the result as an instance of the provided type.

Namespace:  Endeca.Web.UI
Assembly:  Endeca.Web (in Endeca.Web.dll) Version: 2.1.1.0 (2.1.1.620)

Syntax

C#
public T Select<T>(
	string viewName
)
Visual Basic (Declaration)
Public Function Select(Of T) ( _
	viewName As String _
) As T
Visual C++
public:
generic<typename T>
T Select(
	String^ viewName
)

Parameters

viewName
Type: System..::.String
Name of the view to select.

Type Parameters

T
Type of result

Exceptions

ExceptionCondition
System..::.ArgumentOutOfRangeException If viewName is not a valid view name for this data source.

See Also