InfoConnect for Airlines
Add Method (ContextMenus)


Adds (or updates an existing) context menu to this session document
Syntax
'Declaration
 
Public Function Add( _
   ByVal menu As IContextMenu _
) As Boolean
'Usage
 
Dim instance As ContextMenus
Dim menu As IContextMenu
Dim value As Boolean
 
value = instance.Add(menu)
public bool Add( 
   IContextMenu menu
)

Parameters

menu
The context menu to add

Return Value

True if the add or update was successful, false if an error occurred
Exceptions
ExceptionDescription
System.ArgumentNullExceptionIf the name passed is null or empty
System.InvalidOperationExceptionIf the ContextMenus object is not available or in an error state
See Also