Version

Load(SerializationProviderBase,String,LoadOptionsBase) Method

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

Parameters

provider
The serialization provider to use to load the stream into the document.
filePath
The path of the file containing the document content.
options
The options to use when loading the content. Each serialization provider will have an associated derived class for load 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