Serialize()
Contents
[
Hide
]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)
Arguments
Parameter | Type | Description |
---|---|---|
stream | System::SharedPtr<IO::Stream> | Destination stream. |
o | System::SharedPtr<Object> | Object to serialize. |
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)
Arguments
Parameter | Type | Description |
---|---|---|
textWriter | System::SharedPtr<IO::TextWriter> | Destination stream. |
o | System::SharedPtr<Object> | Object to serialize. |
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)
Arguments
Parameter | Type | Description |
---|---|---|
xmlWriter | System::SharedPtr<XmlWriter> | Destination stream. |
o | System::SharedPtr<Object> | Object to serialize. |
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)
Arguments
Parameter | Type | Description |
---|---|---|
stream | System::SharedPtr<IO::Stream> | Destination stream. |
o | System::SharedPtr<Object> | Object to serialize. |
namespaces | System::SharedPtr<XmlSerializerNamespaces> | Namespace storage. |
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)
Arguments
Parameter | Type | Description |
---|---|---|
textWriter | System::SharedPtr<IO::TextWriter> | Destination stream. |
o | System::SharedPtr<Object> | Object to serialize. |
namespaces | System::SharedPtr<XmlSerializerNamespaces> | Namespace storage. |
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)
Arguments
Parameter | Type | Description |
---|---|---|
xmlWriter | System::SharedPtr<XmlWriter> | Destination stream. |
o | System::SharedPtr<Object> | Object to serialize. |
namespaces | System::SharedPtr<XmlSerializerNamespaces> | Namespace storage. |
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)
Arguments
Parameter | Type | Description |
---|---|---|
xmlWriter | System::SharedPtr<XmlWriter> | Destination stream. |
o | System::SharedPtr<Object> | Object to serialize. |
namespaces | System::SharedPtr<XmlSerializerNamespaces> | Namespace storage. |
encodingStyle | String | Style to use while serializing object. |
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)
Arguments
Parameter | Type | Description |
---|---|---|
xmlWriter | System::SharedPtr<XmlWriter> | Destination stream. |
o | System::SharedPtr<Object> | Object to serialize. |
namespaces | System::SharedPtr<XmlSerializerNamespaces> | Namespace storage. |
encodingStyle | String | Style to use while serializing object. |
id | String | Object id to use while serializing it. |
See Also
- Typedef SharedPtr
- Class Stream
- Class Object
- Class XmlSerializer
- Class TextWriter
- Class XmlWriter
- Class XmlSerializerNamespaces
- Class String
- Namespace System::Xml::Serialization
- Library Aspose.Slides