Version

Save(SerializationProviderBase,String,SaveOptionsBase) Method

Saves the content from the document into a file using the specified serialization provider.
Syntax
'Declaration
 
Public Overloads Sub Save( _
   ByVal provider As SerializationProviderBase, _
   ByVal filePath As String, _
   Optional ByVal options As SaveOptionsBase _
) 
public void Save( 
   SerializationProviderBase provider,
   string filePath,
   SaveOptionsBase options
)

Parameters

provider
The serialization provider to use to save the document into the stream.
filePath
The path of the file into which to write the document content.
options
The options to use when saving the content. Each serialization provider will have an associated derived class for save options.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also