XdmWriter.Serialize Method (XmlReader, XmlWriter)XdmWriter.Serialize Method (XmlReader, XmlWriter)XdmWriter::Serialize Method (XmlReader^, XmlWriter^)
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Syntax
Public Shared Sub Serialize( _ reader As System.Xml.XmlReader, _ writer As System.Xml.XmlWriter _ )
public static void Serialize( System.Xml.XmlReader reader, System.Xml.XmlWriter writer )
public: static void Serialize( System.Xml::XmlReader^ reader, System.Xml::XmlWriter^ writer )
Parameters
- reader
Type: System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader^
The document to serialize.
- writer
Type: System.Xml.XmlWriterSystem.Xml.XmlWriterSystem.Xml::XmlWriter^
The writer to serialize to.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
reader or writer is null
a null reference (Nothing in Visual Basic)
nullptr .
|
XdmExceptionXdmExceptionXdmException | An error occurred during serialization. |