System::Xml::Serialization::XmlSerializer class
Contents
[
Hide
]XmlSerializer class
Performs serialization and deserialization of objects into and from XML documents. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class XmlSerializer : public System::Object
Methods
Method | Description |
---|---|
virtual CanDeserialize(System::SharedPtr<XmlReader>) | Checks if specific reader is in deserializable state. |
Deserialize(System::SharedPtr<IO::Stream>) | Deserializes XML document into object. |
Deserialize(System::SharedPtr<IO::TextReader>) | Deserializes XML document into object. |
Deserialize(System::SharedPtr<XmlReader>) | Deserializes XML document into object. |
Deserialize(System::SharedPtr<XmlReader>, String) | Deserializes XML document into object. |
Serialize(System::SharedPtr<IO::Stream>, System::SharedPtr<Object>) | Serializes document into XML. |
Serialize(System::SharedPtr<IO::TextWriter>, System::SharedPtr<Object>) | Serializes document into XML. |
Serialize(System::SharedPtr<XmlWriter>, System::SharedPtr<Object>) | Serializes document into XML. |
Serialize(System::SharedPtr<IO::Stream>, System::SharedPtr<Object>, System::SharedPtr<XmlSerializerNamespaces>) | Serializes document into XML. |
Serialize(System::SharedPtr<IO::TextWriter>, System::SharedPtr<Object>, System::SharedPtr<XmlSerializerNamespaces>) | Serializes document into XML. |
Serialize(System::SharedPtr<XmlWriter>, System::SharedPtr<Object>, System::SharedPtr<XmlSerializerNamespaces>) | Serializes document into XML. |
Serialize(System::SharedPtr<XmlWriter>, System::SharedPtr<Object>, System::SharedPtr<XmlSerializerNamespaces>, String) | Serializes document into XML. |
Serialize(System::SharedPtr<XmlWriter>, System::SharedPtr<Object>, System::SharedPtr<XmlSerializerNamespaces>, String, String) | Serializes document into XML. |
Fields
Field | Description |
---|---|
static EncodingNamespace | Encoding namespace name. |
static WsdlNamespace | RTTI. |
static WsdlTypesNamespace | WSDL types namespace name. |
See Also
- Class Object
- Namespace System::Xml::Serialization
- Library Aspose.PDF for C++