Saves the text of the table of contents with the specified format.

Save(Out, BinaryStreamType)

public void Save(out byte[] binaryData, BinaryStreamType binaryStreamType);
Public Sub Save(ByRef binaryData As Byte(), ByVal binaryStreamType As BinaryStreamType)

Save(Out, StringStreamType)

public void Save(out string stringData, StringStreamType stringStreamType);
Public Sub Save(ByRef stringData As String, ByVal stringStreamType As StringStreamType)

Save(Out, BinaryStreamType, SaveSettings)

public void Save(out byte[] binaryData, BinaryStreamType binaryStreamType, SaveSettings saveSettings);
Public Sub Save(ByRef binaryData As Byte(), ByVal binaryStreamType As BinaryStreamType, ByVal saveSettings As SaveSettings)

Save(Out, StringStreamType, SaveSettings)

public void Save(out string stringData, StringStreamType stringStreamType, SaveSettings saveSettings);
Public Sub Save(ByRef stringData As String, ByVal stringStreamType As StringStreamType, ByVal saveSettings As SaveSettings)

Parameters

Parameter Description
binaryData Specifies a byte array into which the text is saved. No memory needs to be allocated through the caller.
stringData Specifies a string into which the text is saved. No memory needs to be allocated through the caller.
binaryStreamType Specifies one of the BinaryStreamType values.
stringStreamType Specifies one of the StringStreamType values.
saveSettings Specifies a SaveSettings object with additional information and settings for the save operation.