IVsAsyncPersistDocData.SaveDocDataAsync(UInt32, IVsProgress) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.