Saves the complete contents of a document with the specified format.
public DialogResult Save();
public DialogResult Save(StreamType streamType);
public DialogResult Save(StreamType streamType, SaveSettings saveSettings);
public DialogResult Save(StreamType streamType, SaveSettings saveSettings, SaveSettings.DialogSettings dialogSettings);
public void Save(string path, StreamType streamType);
public void Save(System.IO.FileStream fileStream, StreamType streamType);
public void Save(out byte[] binaryData, BinaryStreamType binaryStreamType);
public void Save(out string stringData, StringStreamType stringStreamType);
public void Save(string path, StreamType streamType, SaveSettings saveSettings);
public void Save(System.IO.FileStream fileStream, StreamType streamType, SaveSettings saveSettings);
public void Save(out byte[] binaryData, BinaryStreamType binaryStreamType, SaveSettings saveSettings);
public void Save(out string stringData, StringStreamType stringStreamType, SaveSettings saveSettings);
Parameter | Description |
---|---|
stream |
Specifies one or more of the Stream |
dialog |
Specifies one or more of the Save |
path | Specifies a file into which the data is saved. If the file does not exist it is created. If the file exists its contents are overwritten. |
file |
Specifies a file into which the data is saved. The data is saved at the stream's current position. |
binary |
Specifies a byte array into which the data is saved. No memory needs to be allocated through the caller. |
string |
Specifies a string into which the data is saved. No memory needs to be allocated through the caller. |
binary |
Specifies one of the Binary |
string |
Specifies one of the String |
save |
Specifies a Save |
The implementations that open a dialog box return the dialog's result value.