Graphics.Flush 方法

定义

强制执行所有挂起的图形操作并立即返回而不等待操作完成。Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish.

重载

Flush()

强制执行所有挂起的图形操作并立即返回而不等待操作完成。Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish.

Flush(FlushIntention)

用此方法强制执行所有挂起的图形操作,按照指定,等待或者不等待,在操作完成之前返回。Forces execution of all pending graphics operations with the method waiting or not waiting, as specified, to return before the operations finish.

Flush()

强制执行所有挂起的图形操作并立即返回而不等待操作完成。Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish.

public:
 void Flush();
public void Flush ();
member this.Flush : unit -> unit
Public Sub Flush ()

注解

此方法启动刷新并立即返回,而不等待当前正在执行的任何图形操作完成。This method starts a flush and returns immediately without waiting for any currently executing graphics operation to finish.

适用于

Flush(FlushIntention)

用此方法强制执行所有挂起的图形操作,按照指定,等待或者不等待,在操作完成之前返回。Forces execution of all pending graphics operations with the method waiting or not waiting, as specified, to return before the operations finish.

public:
 void Flush(System::Drawing::Drawing2D::FlushIntention intention);
public void Flush (System.Drawing.Drawing2D.FlushIntention intention);
member this.Flush : System.Drawing.Drawing2D.FlushIntention -> unit
Public Sub Flush (intention As FlushIntention)

参数

intention
FlushIntention

FlushIntention 枚举的成员,它指定该方法是立即返回还是等待所有现有的操作都完成。Member of the FlushIntention enumeration that specifies whether the method returns immediately or waits for any existing operations to finish.

注解

参数的值 Flush intention 指定方法在开始刷新后立即返回,而值 Sync 指定该方法在返回前等待,直到任何现有操作完成。A value of Flush for the intention parameter specifies that the method return immediately after beginning the flush, while a value of Sync specifies that the method wait before returning until any existing operations finish.

适用于