InfoConnect for Airlines
AddListItem Method
Example 


The user-typed string to append to the list.
Adds a string to the end of the Recent Typing list.
Syntax
'Declaration
 
Sub AddListItem( _
   ByVal newItem As String _
) 
'Usage
 
Dim instance As IRecentTyping
Dim newItem As String
 
instance.AddListItem(newItem)
void AddListItem( 
   string newItem
)

Parameters

newItem
The user-typed string to append to the list.
Exceptions
ExceptionDescription
System.ArgumentNullException This exception is thrown if newItem is null (or in Visual Basic, is Nothing).
Example
This sample uses AddListItem to add the "kayak" command to the Recent Typing list.

	
See Also