Console.NumberLock Property
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.
Gets a value indicating whether the NUM LOCK keyboard toggle is turned on or turned off.
public:
static property bool NumberLock { bool get(); };
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public static bool NumberLock { get; }
public static bool NumberLock { get; }
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
static member NumberLock : bool
static member NumberLock : bool
Public Shared ReadOnly Property NumberLock As Boolean
Property Value
true
if NUM LOCK is turned on; false
if NUM LOCK is turned off.
- Attributes
Exceptions
The get operation is invoked on an operating system other than Windows.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.