InfoConnect API Guide
Attachmate.Reflection.Emulation.Common Namespace / MouseButtonCombination Class / Equality Operator
The first MouseButtonCombination instance.
The second MouseButtonCombination instance.
Example


In This Topic
    Equality Operator (MouseButtonCombination)
    In This Topic
    Determines whether two MouseButtonCombination instances are equal.
    Syntax
    'Declaration
     
    
    Public Operator =( _
       ByVal mbc1 As MouseButtonCombination, _
       ByVal mbc2 As MouseButtonCombination _
    ) As Boolean
    'Usage
     
    

    Parameters

    mbc1
    The first MouseButtonCombination instance.
    mbc2
    The second MouseButtonCombination instance.

    Return Value

    True if the two instances are equal; otherwise false.
    Example
    class Program
    {
       private MouseButtonCombination mbc1;
       private MouseButtonCombination mbc2;
                
       public MouseButtonCombination MouseCombination1
       {set{mbc1 = value};} 
       public MouseButtonCombination MouseCombination2
       {set{mbc2 = value;}}
                
       public bool CheckEquality()
       {
          if(mbc1 == mbc2)
             return true;
          else
             return false; 
       }
    }
    See Also