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


يسلسل المستند إلى XML.

```cpp
void System::Xml::Serialization::XmlSerializer::Serialize(System::SharedPtr<IO::Stream> stream, System::SharedPtr<Object> o)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| دفق | System::SharedPtr\<IO::Stream\> | دفق الوجهة. |
| o | System::SharedPtr\<Object\> | [Object](../../../system/object/) للتسلسل. |

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [Object](../../../system/object/)
* Class [XmlSerializer](../)
* Namespace [System::Xml::Serialization](../../)
* Library [Aspose.Page for C++](../../../)
## XmlSerializer::Serialize(System::SharedPtr\<IO::Stream\>, System::SharedPtr\<Object\>, System::SharedPtr\<XmlSerializerNamespaces\>) method


يسلسل المستند إلى XML.

```cpp
void System::Xml::Serialization::XmlSerializer::Serialize(System::SharedPtr<IO::Stream> stream, System::SharedPtr<Object> o, System::SharedPtr<XmlSerializerNamespaces> namespaces)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| دفق | System::SharedPtr\<IO::Stream\> | دفق الوجهة. |
| o | System::SharedPtr\<Object\> | [Object](../../../system/object/) للتسلسل. |
| مساحات الأسماء | System::SharedPtr\<XmlSerializerNamespaces\> | تخزين مساحة الاسم. |

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [Object](../../../system/object/)
* Class [XmlSerializerNamespaces](../../xmlserializernamespaces/)
* Class [XmlSerializer](../)
* Namespace [System::Xml::Serialization](../../)
* Library [Aspose.Page for C++](../../../)
## XmlSerializer::Serialize(System::SharedPtr\<IO::TextWriter\>, System::SharedPtr\<Object\>) method


يسلسل المستند إلى XML.

```cpp
void System::Xml::Serialization::XmlSerializer::Serialize(System::SharedPtr<IO::TextWriter> textWriter, System::SharedPtr<Object> o)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| textWriter | System::SharedPtr\<IO::TextWriter\> | دفق الوجهة. |
| o | System::SharedPtr\<Object\> | [Object](../../../system/object/) للتسلسل. |

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [TextWriter](../../../system.io/textwriter/)
* Class [Object](../../../system/object/)
* Class [XmlSerializer](../)
* Namespace [System::Xml::Serialization](../../)
* Library [Aspose.Page for C++](../../../)
## XmlSerializer::Serialize(System::SharedPtr\<IO::TextWriter\>, System::SharedPtr\<Object\>, System::SharedPtr\<XmlSerializerNamespaces\>) method


يسلسل المستند إلى XML.

```cpp
void System::Xml::Serialization::XmlSerializer::Serialize(System::SharedPtr<IO::TextWriter> textWriter, System::SharedPtr<Object> o, System::SharedPtr<XmlSerializerNamespaces> namespaces)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| textWriter | System::SharedPtr\<IO::TextWriter\> | دفق الوجهة. |
| o | System::SharedPtr\<Object\> | [Object](../../../system/object/) للتسلسل. |
| مساحات الأسماء | System::SharedPtr\<XmlSerializerNamespaces\> | تخزين مساحة الاسم. |

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [TextWriter](../../../system.io/textwriter/)
* Class [Object](../../../system/object/)
* Class [XmlSerializerNamespaces](../../xmlserializernamespaces/)
* Class [XmlSerializer](../)
* Namespace [System::Xml::Serialization](../../)
* Library [Aspose.Page for C++](../../../)
## XmlSerializer::Serialize(System::SharedPtr\<XmlWriter\>, System::SharedPtr\<Object\>) method


يسلسل المستند إلى XML.

```cpp
void System::Xml::Serialization::XmlSerializer::Serialize(System::SharedPtr<XmlWriter> xmlWriter, System::SharedPtr<Object> o)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| xmlWriter | System::SharedPtr\<XmlWriter\> | دفق الوجهة. |
| o | System::SharedPtr\<Object\> | [Object](../../../system/object/) للتسلسل. |

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlWriter](../../../system.xml/xmlwriter/)
* Class [Object](../../../system/object/)
* Class [XmlSerializer](../)
* Namespace [System::Xml::Serialization](../../)
* Library [Aspose.Page for C++](../../../)
## XmlSerializer::Serialize(System::SharedPtr\<XmlWriter\>, System::SharedPtr\<Object\>, System::SharedPtr\<XmlSerializerNamespaces\>) method


يسلسل المستند إلى XML.

```cpp
void System::Xml::Serialization::XmlSerializer::Serialize(System::SharedPtr<XmlWriter> xmlWriter, System::SharedPtr<Object> o, System::SharedPtr<XmlSerializerNamespaces> namespaces)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| xmlWriter | System::SharedPtr\<XmlWriter\> | دفق الوجهة. |
| o | System::SharedPtr\<Object\> | [Object](../../../system/object/) للتسلسل. |
| مساحات الأسماء | System::SharedPtr\<XmlSerializerNamespaces\> | تخزين مساحة الاسم. |

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlWriter](../../../system.xml/xmlwriter/)
* Class [Object](../../../system/object/)
* Class [XmlSerializerNamespaces](../../xmlserializernamespaces/)
* Class [XmlSerializer](../)
* Namespace [System::Xml::Serialization](../../)
* Library [Aspose.Page for C++](../../../)
## XmlSerializer::Serialize(System::SharedPtr\<XmlWriter\>, System::SharedPtr\<Object\>, System::SharedPtr\<XmlSerializerNamespaces\>, String) method


يسلسل المستند إلى XML.

```cpp
void System::Xml::Serialization::XmlSerializer::Serialize(System::SharedPtr<XmlWriter> xmlWriter, System::SharedPtr<Object> o, System::SharedPtr<XmlSerializerNamespaces> namespaces, String encodingStyle)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| xmlWriter | System::SharedPtr\<XmlWriter\> | دفق الوجهة. |
| o | System::SharedPtr\<Object\> | [Object](../../../system/object/) للتسلسل. |
| مساحات الأسماء | System::SharedPtr\<XmlSerializerNamespaces\> | تخزين مساحة الاسم. |
| encodingStyle | String | النمط المستخدم أثناء تسلسل الكائن. |

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlWriter](../../../system.xml/xmlwriter/)
* Class [Object](../../../system/object/)
* Class [XmlSerializerNamespaces](../../xmlserializernamespaces/)
* Class [String](../../../system/string/)
* Class [XmlSerializer](../)
* Namespace [System::Xml::Serialization](../../)
* Library [Aspose.Page for C++](../../../)
## XmlSerializer::Serialize(System::SharedPtr\<XmlWriter\>, System::SharedPtr\<Object\>, System::SharedPtr\<XmlSerializerNamespaces\>, String, String) method


يسلسل المستند إلى XML.

```cpp
void System::Xml::Serialization::XmlSerializer::Serialize(System::SharedPtr<XmlWriter> xmlWriter, System::SharedPtr<Object> o, System::SharedPtr<XmlSerializerNamespaces> namespaces, String encodingStyle, String id)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| xmlWriter | System::SharedPtr\<XmlWriter\> | دفق الوجهة. |
| o | System::SharedPtr\<Object\> | [Object](../../../system/object/) للتسلسل. |
| مساحات الأسماء | System::SharedPtr\<XmlSerializerNamespaces\> | تخزين مساحة الاسم. |
| encodingStyle | String | النمط المستخدم أثناء تسلسل الكائن. |
| id | String | [Object](../../../system/object/) المعرف لاستخدامه أثناء تسلسلها. |

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlWriter](../../../system.xml/xmlwriter/)
* Class [Object](../../../system/object/)
* Class [XmlSerializerNamespaces](../../xmlserializernamespaces/)
* Class [String](../../../system/string/)
* Class [XmlSerializer](../)
* Namespace [System::Xml::Serialization](../../)
* Library [Aspose.Page for C++](../../../)
