XdmSerializer.Serialize Method (XPathItem, Stream)XdmSerializer.Serialize Method (XPathItem, Stream)XdmSerializer::Serialize Method (XPathItem^, Stream^)

Serializes the specified XPathItemXPathItemXPathItem to the specified StreamStreamStream.

Syntax

Public Sub Serialize( _
    item As System.Xml.XPath.XPathItem, _
    stream As System.IO.Stream _
)
public void Serialize(
    System.Xml.XPath.XPathItem item,
    System.IO.Stream stream
)
public:
void Serialize(
    System.Xml.XPath::XPathItem^ item, 
    System.IO::Stream^ stream
)
 

Parameters

item

Type: System.Xml.XPath.XPathItemSystem.Xml.XPath.XPathItemSystem.Xml.XPath::XPathItem^

The XPathItemXPathItemXPathItem to serialize, or null a null reference (Nothing in Visual Basic) nullptr to serialize the empty sequence.

stream

Type: System.IO.StreamSystem.IO.StreamSystem.IO::Stream^

A StreamStreamStream.