IRtConnectionGetList Method (String, String)

Returns a collection of ListItems for the specified list name. This method is used to return a collection of ListItems containing all columns in the list as individual properties of the ListItem class. For example, if the list sent from the host system contains 5 columns, then the ListItem objects in the returned collection will contain properties called "Column1", "Column2", "Column3", "Column4" and "Column5". These can then be processed by the Client application individually. You can also supply an array of names that will be used to name the columns in the ListItem collection, if you prefer specific names rather than "Column1",etc....

Namespace:  ABSuite.AccessLayer.Connector.Core
Assembly:  Unisys.ABSuite.AccessLayer.Connector.Core (in Unisys.ABSuite.AccessLayer.Connector.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

IEnumerable<ListItem> GetList(
	string listName,
	string[] names = null
)

Parameters

listName
Type: SystemString
Name of the list to be retrieved.
names (Optional)
Type: SystemString
An array of names for the individual list columns.

Return Value

Type: IEnumerableListItem
Collection of list items that can be iterated over, or bound to a ViewModel.
See Also

Reference