WriteComponentToXMLStream
Serializes the specified component to a stream using an XML object writer.