Attachmate Reflection 2014 .NET API Reference
Inequality Operator (MouseButtonCombination)
Example 


The first MouseButtonCombination instance.
The second MouseButtonCombination instance.
Determines whether two MouseButtonCombination instances are not equal.
Syntax
'Declaration
 
Public Operator <>( _
   ByVal mbc1 As MouseButtonCombination, _
   ByVal mbc2 As MouseButtonCombination _
) As Boolean
'Usage
 
public bool operator !=( 
   MouseButtonCombination mbc1,
   MouseButtonCombination mbc2
)

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; 
   }
}
Requirements

Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services

See Also

Reference

MouseButtonCombination Class
MouseButtonCombination Members

Send Feedback