共用方式為


PSHostRawUserInterface.ScrollBufferContents Method

Definition

Scroll a region of the screen buffer.

public:
 abstract void ScrollBufferContents(System::Management::Automation::Host::Rectangle source, System::Management::Automation::Host::Coordinates destination, System::Management::Automation::Host::Rectangle clip, System::Management::Automation::Host::BufferCell fill);
public abstract void ScrollBufferContents (System.Management.Automation.Host.Rectangle source, System.Management.Automation.Host.Coordinates destination, System.Management.Automation.Host.Rectangle clip, System.Management.Automation.Host.BufferCell fill);
abstract member ScrollBufferContents : System.Management.Automation.Host.Rectangle * System.Management.Automation.Host.Coordinates * System.Management.Automation.Host.Rectangle * System.Management.Automation.Host.BufferCell -> unit
Public MustOverride Sub ScrollBufferContents (source As Rectangle, destination As Coordinates, clip As Rectangle, fill As BufferCell)

Parameters

source
Rectangle

Indicates the region of the screen to be scrolled.

destination
Coordinates

Indicates the upper left coordinates of the region of the screen to receive the source region contents. The target region is the same size as the source region.

clip
Rectangle

Indicates the region of the screen to include in the operation. If a cell would be changed by the operation but does not fall within the clip region, it will be unchanged.

fill
BufferCell

The character and attributes to be used to fill any cells within the intersection of the source rectangle and clipping rectangle that are left "empty" by the move.

Applies to

See also