Partilhar via


IVsAsyncPersistDocData.SaveDocDataAsync(UInt32, IVsProgress) Method

Definition

Saves the document data, asynchronously.

public Microsoft.VisualStudio.Shell.Interop.IVsTask SaveDocDataAsync (uint flags, Microsoft.VisualStudio.Shell.Interop.IVsProgress? progress);
abstract member SaveDocDataAsync : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsProgress -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function SaveDocDataAsync (flags As UInteger, progress As IVsProgress) As IVsTask

Parameters

flags
UInt32

The save flags

progress
IVsProgress

The interface through which progress is reported.

Returns

A task representing the asynchronous operation. The result of the returned task will be IVsAsyncSaveResult.

Remarks

This method is safe to access from any thread.

Applies to