Bagikan melalui


Console.CapsLock Properti

Definisi

Mendapatkan nilai yang menunjukkan apakah tombol keyboard CAPS LOCK diaktifkan atau dinonaktifkan.

public:
 static property bool CapsLock { bool get(); };
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public static bool CapsLock { get; }
public static bool CapsLock { get; }
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
static member CapsLock : bool
static member CapsLock : bool
Public Shared ReadOnly Property CapsLock As Boolean

Nilai Properti

true jika CAPS LOCK diaktifkan; false jika CAPS LOCK dimatikan.

Atribut

Pengecualian

Operasi get dipanggil pada sistem operasi selain Windows.

Berlaku untuk