Sdílet prostřednictvím


PSHostRawUserInterface.CursorPosition Property

Definition

Gets or sets the cursor position in the screen buffer. The view window always adjusts it's location over the screen buffer such that the cursor is always visible.

public:
 abstract property System::Management::Automation::Host::Coordinates CursorPosition { System::Management::Automation::Host::Coordinates get(); void set(System::Management::Automation::Host::Coordinates value); };
public abstract System.Management.Automation.Host.Coordinates CursorPosition { get; set; }
member this.CursorPosition : System.Management.Automation.Host.Coordinates with get, set
Public MustOverride Property CursorPosition As Coordinates

Property Value

Remarks

To write to the screen buffer without updating the cursor position, use SetBufferContents(Rectangle, BufferCell) or System.Management.Automation.Host.PSHostRawUserInterface.SetBufferContents(System.Management.Automation.Host.Coordinates,System.Management.Automation.Host.BufferCell[0:,0:])

Applies to

See also