Updated: April 27, 2016
Applies To: Windows PowerShell
Represents key information such as the character, virtual key code, the state of any associated control keys, and the state of the key (down).
Assembly: System.Management.Automation (in System.Management.Automation.dll)
Gets or sets the character of the key.
Gets and sets the state of the control keys that are associated with the key.
Gets or sets a Boolean value that indicates that the key is in the down (or pressed) position.
Gets or sets the virtual key code that identifies the key.
Determines whether the current ValueType.Equals(Object).)structure is equal to the specified object.(Overrides
Gets a hash code for the current ValueType.GetHashCode().)structure.(Overrides
(Inherited from Object.)
Converts the current ValueType.ToString().)structure to a string.(Overrides
Compares twostructures to determine whether their respective character, virtual key code, control key state, and down position values are equal.
Compares twostructures to determine whether their respective character, virtual key code, control key state, and down position values are not equal.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.