InfoConnect for Airlines VBA Guide
Contains Function (ContextMenus)
The descriptive name of the menu
Returns a value indicating whether a context menu of a given name exists in this session document.
Syntax
object.Contains( _
   ByVal name As String _
) As Boolean

Parameters

name
The descriptive name of the menu

Return Value

True if the menu exists, false if it does not
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