Version

Load(SerializationProviderBase,Stream,LoadOptionsBase) Method

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

Parameters

provider
The serialization provider to use to load the stream into the document.
stream
The stream 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