DataGridGetByView Method | |
Extension for DataGrid View list. Filter list by parameter and order by Order, OrderDefault
Namespace:
SOWIData.Management.Extension
Assembly:
SOWIData.Management (in SOWIData.Management.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax public static List<DataGrid> GetByView(
this List<DataGrid> pListDataGrid,
string pAppName,
DataGridViews pView,
string pUserName = "",
int pClientID = 0
)
<ExtensionAttribute>
Public Shared Function GetByView (
pListDataGrid As List(Of DataGrid),
pAppName As String,
pView As DataGridViews,
Optional pUserName As String = "",
Optional pClientID As Integer = 0
) As List(Of DataGrid)
Parameters
- pListDataGrid
- Type: System.Collections.GenericListDataGrid
list for filtering - pAppName
- Type: SystemString
App/Module name - pView
- Type: SOWIData.ManagementDataGridViews
View type name (User, Template...) - pUserName (Optional)
- Type: SystemString
[Missing <param name="pUserName"/> documentation for "M:SOWIData.Management.Extension.DataGrid.GetByView(System.Collections.Generic.List{SOWIData.Management.DataGrid},System.String,SOWIData.Management.DataGridViews,System.String,System.Int32)"]
- pClientID (Optional)
- Type: SystemInt32
[Missing <param name="pClientID"/> documentation for "M:SOWIData.Management.Extension.DataGrid.GetByView(System.Collections.Generic.List{SOWIData.Management.DataGrid},System.String,SOWIData.Management.DataGridViews,System.String,System.Int32)"]
Return Value
Type:
ListDataGrid[Missing <returns> documentation for "M:SOWIData.Management.Extension.DataGrid.GetByView(System.Collections.Generic.List{SOWIData.Management.DataGrid},System.String,SOWIData.Management.DataGridViews,System.String,System.Int32)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ListDataGrid. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also