ITextSnapshot2.SaveToFile(String, Boolean, Encoding) 方法

定義

將整個快照集儲存至指定的 filePath

public:
 void SaveToFile(System::String ^ filePath, bool replaceFile, System::Text::Encoding ^ encoding);
public void SaveToFile (string filePath, bool replaceFile, System.Text.Encoding encoding);
abstract member SaveToFile : string * bool * System.Text.Encoding -> unit
Public Sub SaveToFile (filePath As String, replaceFile As Boolean, encoding As Encoding)

參數

filePath
String

要儲存的路徑

replaceFile
Boolean

若為 true,則取代現有檔案。

encoding
Encoding

用來儲存檔案的編碼方式。

適用於