Click or drag to resize

AppStandardDataItemClassGetView Method (ListViewConfig, String, DictionaryString, String)

Data list configured by List View Config

Namespace:  SOWIApp.Foundation
Assembly:  SOWIApp.Foundation (in SOWIApp.Foundation.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public List<DataItemClass> GetView(
	out ListViewConfig pViewConfig,
	string pViewName,
	Dictionary<string, string> pDictionaryUI = null
)

Parameters

pViewConfig
Type: SOWIData.ManagementListViewConfig
Return the ViewConfig object
pViewName
Type: SystemString
View name for list view setting e.g. Index
pDictionaryUI (Optional)
Type: System.Collections.GenericDictionaryString, String
UI dictionary. If object equal null then use internal DictionaryUI object

Return Value

Type: ListDataItemClass
A list of data item objects of DataItemClass

Implements

IAppStandardDataItemClassGetView(ListViewConfig, String, DictionaryString, String)
IAppControllerDataItemClassGetView(ListViewConfig, String, DictionaryString, String)
Remarks
Examples

This example used method GetView

SOWIData.Management.ListViewConfig lViewConfig;                     //* declaration ListViewConfig object *
var lList = AppModule.GetView(out lViewConfig, ActionName);         //* fill ListViewConfig object *

Programming example when overriding this method

DictionaryUI object handling
if (pDictionaryUI == null)
{
    pDictionaryUI = this.DictionaryUI;
}
pViewConfig = SOWIApp.Management.ListViewConfig.GetByConfig(this.AppName, this.UserName, pViewName);
return this.GetView(ref pViewConfig, pDictionaryUI);
See Also