KeyInfo.Equality(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 equality.
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 ( = ) : 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 the respective Character, ControlKeyStates , KeyDown, and VirtualKeyCode fields are the same, false otherwise.