DocData.SaveDocDataToFile(VSSAVEFLAGS, String, Int32, IVsUIShell) Yöntem

Tanım

Bir dosyaya belge verisi olarak kaydet

protected:
 virtual int SaveDocDataToFile(Microsoft::VisualStudio::Shell::Interop::VSSAVEFLAGS saveOptions, [Runtime::InteropServices::Out] System::String ^ % fileName, [Runtime::InteropServices::Out] int % saveCanceled, Microsoft::VisualStudio::Shell::Interop::IVsUIShell ^ uiShell);
protected virtual int SaveDocDataToFile (Microsoft.VisualStudio.Shell.Interop.VSSAVEFLAGS saveOptions, out string fileName, out int saveCanceled, Microsoft.VisualStudio.Shell.Interop.IVsUIShell uiShell);
abstract member SaveDocDataToFile : Microsoft.VisualStudio.Shell.Interop.VSSAVEFLAGS * string * int * Microsoft.VisualStudio.Shell.Interop.IVsUIShell -> int
override this.SaveDocDataToFile : Microsoft.VisualStudio.Shell.Interop.VSSAVEFLAGS * string * int * Microsoft.VisualStudio.Shell.Interop.IVsUIShell -> int
Protected Overridable Function SaveDocDataToFile (saveOptions As VSSAVEFLAGS, ByRef fileName As String, ByRef saveCanceled As Integer, uiShell As IVsUIShell) As Integer

Parametreler

saveOptions
VSSAVEFLAGS

Belgenin nasıl kaydedileceğini betimleyen bayraklar.

fileName
String

Kaydedilen dosyanın adı.

saveCanceled
Int32

kayıt iptal edildiyse 1.

uiShell
IVsUIShell

vs kabuğu hizmeti

Döndürülenler

Int32

Başarılı olursa S_OK

Şunlara uygulanır