Tests whether two instaces of the ConsoleKeyInfo structure are equivalent.

Namespace:  Rebex.TerminalEmulation
Assembly:  Rebex.Terminal (in Rebex.Terminal.dll)

Syntax

Visual Basic
Public Shared Operator = ( _
	a As ConsoleKeyInfo, _
	b As ConsoleKeyInfo _
) As Boolean
C#
public static bool operator ==(
	ConsoleKeyInfo a,
	ConsoleKeyInfo b
)

Parameters

a
Type: Rebex.TerminalEmulation..::..ConsoleKeyInfo
First instance to compare.
b
Type: Rebex.TerminalEmulation..::..ConsoleKeyInfo
Second instance to compare.

Return Value

True if they share same values; otherwise false.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also