InfoConnect for Airlines
Contains Method (MouseMapper)
Example 


The mouse/key combination to query for.
Returns whether there is a mapping for a specified mouse/key combination in the current mouse map.
Syntax
'Declaration
 
Public Function Contains( _
   ByVal mapping As MouseButtonCombination _
) As Boolean
'Usage
 
Dim instance As MouseMapper
Dim mapping As MouseButtonCombination
Dim value As Boolean
 
value = instance.Contains(mapping)
public bool Contains( 
   MouseButtonCombination mapping
)

Parameters

mapping
The mouse/key combination to query for.

Return Value

True if the current keyboard map contains a mapping for key, false if not.
Example
private MouseMapper mapper;
private MouseButtonCombination mouseCombination;
            
public bool ContainsMapping()
{   
  if(mapper.Contains(mouseCombination)
    return true
  else
    return false;
  
}
See Also