Console.GetCursorPosition Método

Definición

Obtiene la posición del cursor.Gets the position of the cursor.

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

Devoluciones

ValueTuple<Int32,Int32>

La posición de la columna y la fila del cursor.The column and row position of the cursor.

Atributos

Comentarios

Las columnas se numeran de izquierda a derecha a partir de 0.Columns are numbered from left to right starting at 0. Las filas se numeran de arriba abajo a partir de 0.Rows are numbered from top to bottom starting at 0.

Se aplica a