## 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)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 스트림 | 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)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 스트림 | 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)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 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)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 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)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 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)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 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)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 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)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| xmlWriter | System::SharedPtr\<XmlWriter\> | 대상 스트림. |
| o | System::SharedPtr\<Object\> | 직렬화할 [Object](../../../system/object/). |
| 네임스페이스 | System::SharedPtr\<XmlSerializerNamespaces\> | 네임스페이스 저장소. |
| encodingStyle | String | 객체를 직렬화할 때 사용할 스타일. |
| id | String | 직렬화할 때 사용할 [Object](../../../system/object/) ID. |

## 또 보기

* 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++](../../../)
