KeyInfo.Inequality(KeyInfo, KeyInfo) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares two instances for inequality.
public:
static bool operator !=(System::Management::Automation::Host::KeyInfo first, System::Management::Automation::Host::KeyInfo second);
public static bool operator != (System.Management.Automation.Host.KeyInfo first, System.Management.Automation.Host.KeyInfo second);
static member op_Inequality : System.Management.Automation.Host.KeyInfo * System.Management.Automation.Host.KeyInfo -> bool
Public Shared Operator != (first As KeyInfo, second As KeyInfo) As Boolean
Parameters
- first
- KeyInfo
The left side operand.
- second
- KeyInfo
The right side operand.
Returns
true if any of the respective Character, ControlKeyStates , KeyDown, or VirtualKeyCode fields are the different, false otherwise.