DocData.SaveDocDataToFile(VSSAVEFLAGS, String, Int32, IVsUIShell) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
Başarılı olursa S_OK