InfoConnect API Guide
Attachmate.Reflection.Emulation.Common Namespace / MouseMapper Class / Contains Method
The mouse/key combination to query for.
Example


In This Topic
    Contains Method (MouseMapper)
    In This Topic
    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