Retrieves and executes the specified data source view, and returns the result as an
instance of the provided type.
Namespace:
Endeca.Web.UIAssembly: Endeca.Web (in Endeca.Web.dll) Version: 2.1.3.0 (2.1.3.622)
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
| Exception | Condition |
|---|---|
| System..::.ArgumentOutOfRangeException | If viewName is not a valid view name for this data source. |