Freigeben über


IVsTrackProjectDocuments2.Flush Method

Definition

This method displays the UI for the IVsTrackProjectDocuments2 calls completed so far without ending the batch.

public:
 int Flush();
public:
 int Flush();
int Flush();
public int Flush ();
abstract member Flush : unit -> int
Public Function Flush () As Integer

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From IVsTrackProjectDocuments2.idl

HRESULT Flush();  

IVsTrackProjectDocuments2.Flush allows projects to display the UI for the IVsTrackProjectDocuments2.OnAfter* methods called since the start of the batch. Unlike EndBatch, IVsTrackProjectDocuments2.Flush does not actually end the batch. This allows the project to continue batching without ending the batch.

Note

You can batch only OnAfter* methods. OnQuery* methods cannot be batched.

Applies to