InfoConnect for Unisys
Attachmate.Reflection.Emulation.IbmHosts Namespace / MouseButtonCombination Class / Inequality Operator
The first MouseButtonCombination instance.
The second MouseButtonCombination instance.
Example


In This Topic
    Inequality Operator (MouseButtonCombination)
    In This Topic
    Determines whether two MouseButtonCombination instances are not 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 not 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 false;
          else
             return true; 
       }
    }
    See Also