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
)
Public Function GetView (
<OutAttribute> ByRef pViewConfig As ListViewConfig,
pViewName As String,
Optional pDictionaryUI As Dictionary(Of String, String) = Nothing
) As List(Of DataItemClass)
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:
ListDataItemClassA 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;
var lList = AppModule.GetView(out lViewConfig, ActionName);
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