Console.GetCursorPosition Metódus

Definíció

Lekéri a kurzor pozícióját.

public:
 static ValueTuple<int, int> GetCursorPosition();
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static(int Left, int Top) GetCursorPosition();
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static(int Left, int Top) GetCursorPosition();
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member GetCursorPosition : unit -> ValueTuple<int, int>
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member GetCursorPosition : unit -> ValueTuple<int, int>
Public Shared Function GetCursorPosition () As ValueTuple(Of Integer, Integer)

Válaszok

A kurzor oszlop- és sorhelyzete.

Attribútumok

Megjegyzések

Az oszlopok számozása balról jobbra 0-tól kezdődik. A sorok számozottak felülről lefelé, 0-tól kezdve.

A következőre érvényes: