Compartilhar via


DocData.SaveDocData(VSSAVEFLAGS, String, Int32) Method

Definition

Saves the document data to a given location. May need to display the Save As dialog.

public:
 virtual int SaveDocData(Microsoft::VisualStudio::Shell::Interop::VSSAVEFLAGS flags, [Runtime::InteropServices::Out] System::String ^ % fileName, [Runtime::InteropServices::Out] int % saveCanceled);
public int SaveDocData (Microsoft.VisualStudio.Shell.Interop.VSSAVEFLAGS flags, out string fileName, out int saveCanceled);
abstract member SaveDocData : Microsoft.VisualStudio.Shell.Interop.VSSAVEFLAGS * string * int -> int
override this.SaveDocData : Microsoft.VisualStudio.Shell.Interop.VSSAVEFLAGS * string * int -> int
Public Function SaveDocData (flags As VSSAVEFLAGS, ByRef fileName As String, ByRef saveCanceled As Integer) As Integer

Parameters

flags
VSSAVEFLAGS

Flags that describe how to save the document.

fileName
String

Name of the file that was saved.

saveCanceled
Int32

1 if the save was cancelled.

Returns

Implements

Applies to