Console.CapsLock Proprietà

Definizione

Ottiene un valore che indica se l'interruttore della tastiera CAPS LOCK è attivato o disattivato.

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

Valore della proprietà

true se CAPS LOCK è attivato; false se IL BLOCCO CAPS è disattivato.

Attributi

Eccezioni

L'operazione get viene richiamata in un sistema operativo diverso da Windows.

Si applica a