System::Xml::Serialization::XmlSerializer::Serialize method

XmlSerializer::Serialize(System::SharedPtr<IO::Stream>, System::SharedPtr<Object>) method

Serializes document into XML.

void System::Xml::Serialization::XmlSerializer::Serialize(System::SharedPtr<IO::Stream> stream, System::SharedPtr<Object> o)
ParameterTypeDescription
streamSystem::SharedPtr<IO::Stream>Destination stream.
oSystem::SharedPtr<Object>Object to serialize.

See Also

XmlSerializer::Serialize(System::SharedPtr<IO::Stream>, System::SharedPtr<Object>, System::SharedPtr<XmlSerializerNamespaces>) method

Serializes document into XML.

void System::Xml::Serialization::XmlSerializer::Serialize(System::SharedPtr<IO::Stream> stream, System::SharedPtr<Object> o, System::SharedPtr<XmlSerializerNamespaces> namespaces)
ParameterTypeDescription
streamSystem::SharedPtr<IO::Stream>Destination stream.
oSystem::SharedPtr<Object>Object to serialize.
namespacesSystem::SharedPtr<XmlSerializerNamespaces>Namespace storage.

See Also

XmlSerializer::Serialize(System::SharedPtr<IO::TextWriter>, System::SharedPtr<Object>) method

Serializes document into XML.

void System::Xml::Serialization::XmlSerializer::Serialize(System::SharedPtr<IO::TextWriter> textWriter, System::SharedPtr<Object> o)
ParameterTypeDescription
textWriterSystem::SharedPtr<IO::TextWriter>Destination stream.
oSystem::SharedPtr<Object>Object to serialize.

See Also

XmlSerializer::Serialize(System::SharedPtr<IO::TextWriter>, System::SharedPtr<Object>, System::SharedPtr<XmlSerializerNamespaces>) method

Serializes document into XML.

void System::Xml::Serialization::XmlSerializer::Serialize(System::SharedPtr<IO::TextWriter> textWriter, System::SharedPtr<Object> o, System::SharedPtr<XmlSerializerNamespaces> namespaces)
ParameterTypeDescription
textWriterSystem::SharedPtr<IO::TextWriter>Destination stream.
oSystem::SharedPtr<Object>Object to serialize.
namespacesSystem::SharedPtr<XmlSerializerNamespaces>Namespace storage.

See Also

XmlSerializer::Serialize(System::SharedPtr<XmlWriter>, System::SharedPtr<Object>) method

Serializes document into XML.

void System::Xml::Serialization::XmlSerializer::Serialize(System::SharedPtr<XmlWriter> xmlWriter, System::SharedPtr<Object> o)
ParameterTypeDescription
xmlWriterSystem::SharedPtr<XmlWriter>Destination stream.
oSystem::SharedPtr<Object>Object to serialize.

See Also

XmlSerializer::Serialize(System::SharedPtr<XmlWriter>, System::SharedPtr<Object>, System::SharedPtr<XmlSerializerNamespaces>) method

Serializes document into XML.

void System::Xml::Serialization::XmlSerializer::Serialize(System::SharedPtr<XmlWriter> xmlWriter, System::SharedPtr<Object> o, System::SharedPtr<XmlSerializerNamespaces> namespaces)
ParameterTypeDescription
xmlWriterSystem::SharedPtr<XmlWriter>Destination stream.
oSystem::SharedPtr<Object>Object to serialize.
namespacesSystem::SharedPtr<XmlSerializerNamespaces>Namespace storage.

See Also

XmlSerializer::Serialize(System::SharedPtr<XmlWriter>, System::SharedPtr<Object>, System::SharedPtr<XmlSerializerNamespaces>, String) method

Serializes document into XML.

void System::Xml::Serialization::XmlSerializer::Serialize(System::SharedPtr<XmlWriter> xmlWriter, System::SharedPtr<Object> o, System::SharedPtr<XmlSerializerNamespaces> namespaces, String encodingStyle)
ParameterTypeDescription
xmlWriterSystem::SharedPtr<XmlWriter>Destination stream.
oSystem::SharedPtr<Object>Object to serialize.
namespacesSystem::SharedPtr<XmlSerializerNamespaces>Namespace storage.
encodingStyleStringStyle to use while serializing object.

See Also

XmlSerializer::Serialize(System::SharedPtr<XmlWriter>, System::SharedPtr<Object>, System::SharedPtr<XmlSerializerNamespaces>, String, String) method

Serializes document into XML.

void System::Xml::Serialization::XmlSerializer::Serialize(System::SharedPtr<XmlWriter> xmlWriter, System::SharedPtr<Object> o, System::SharedPtr<XmlSerializerNamespaces> namespaces, String encodingStyle, String id)
ParameterTypeDescription
xmlWriterSystem::SharedPtr<XmlWriter>Destination stream.
oSystem::SharedPtr<Object>Object to serialize.
namespacesSystem::SharedPtr<XmlSerializerNamespaces>Namespace storage.
encodingStyleStringStyle to use while serializing object.
idStringObject id to use while serializing it.

See Also