## XmlSchema::Write(const SharedPtr\<IO::Stream\>\&) method


Writes the XML [Schema](../../) to the supplied data stream.

```cpp
void System::Xml::Schema::XmlSchema::Write(const SharedPtr<IO::Stream> &stream)
```


| Parameter | Type | Description |
| --- | --- | --- |
| stream | const SharedPtr\<IO::Stream\>\& | The supplied data stream. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
## XmlSchema::Write(const SharedPtr\<IO::Stream\>\&, const SharedPtr\<XmlNamespaceManager\>\&) method


Writes the XML [Schema](../../) to the supplied Stream using the [XmlNamespaceManager](../../../system.xml/xmlnamespacemanager/) specified.

```cpp
void System::Xml::Schema::XmlSchema::Write(const SharedPtr<IO::Stream> &stream, const SharedPtr<XmlNamespaceManager> &namespaceManager)
```


| Parameter | Type | Description |
| --- | --- | --- |
| stream | const SharedPtr\<IO::Stream\>\& | The supplied data stream. |
| namespaceManager | const SharedPtr\<XmlNamespaceManager\>\& | The [XmlNamespaceManager](../../../system.xml/xmlnamespacemanager/). |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [XmlNamespaceManager](../../../system.xml/xmlnamespacemanager/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
## XmlSchema::Write(const SharedPtr\<IO::TextWriter\>\&) method


Writes the XML [Schema](../../) to the supplied [IO::TextWriter](../../../system.io/textwriter/).

```cpp
void System::Xml::Schema::XmlSchema::Write(const SharedPtr<IO::TextWriter> &writer)
```


| Parameter | Type | Description |
| --- | --- | --- |
| writer | const SharedPtr\<IO::TextWriter\>\& | The [IO::TextWriter](../../../system.io/textwriter/) to write to. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [TextWriter](../../../system.io/textwriter/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
## XmlSchema::Write(const SharedPtr\<IO::TextWriter\>\&, const SharedPtr\<XmlNamespaceManager\>\&) method


Writes the XML [Schema](../../) to the supplied TextWriter.

```cpp
void System::Xml::Schema::XmlSchema::Write(const SharedPtr<IO::TextWriter> &writer, const SharedPtr<XmlNamespaceManager> &namespaceManager)
```


| Parameter | Type | Description |
| --- | --- | --- |
| writer | const SharedPtr\<IO::TextWriter\>\& | The [IO::TextWriter](../../../system.io/textwriter/) to write to. |
| namespaceManager | const SharedPtr\<XmlNamespaceManager\>\& | The [XmlNamespaceManager](../../../system.xml/xmlnamespacemanager/). |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [TextWriter](../../../system.io/textwriter/)
* Class [XmlNamespaceManager](../../../system.xml/xmlnamespacemanager/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
## XmlSchema::Write(const SharedPtr\<XmlWriter\>\&) method


Writes the XML [Schema](../../) to the supplied [XmlWriter](../../../system.xml/xmlwriter/).

```cpp
void System::Xml::Schema::XmlSchema::Write(const SharedPtr<XmlWriter> &writer)
```


| Parameter | Type | Description |
| --- | --- | --- |
| writer | const SharedPtr\<XmlWriter\>\& | The [XmlWriter](../../../system.xml/xmlwriter/) to write to. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlWriter](../../../system.xml/xmlwriter/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
## XmlSchema::Write(const SharedPtr\<XmlWriter\>\&, const SharedPtr\<XmlNamespaceManager\>\&) method


Writes the XML [Schema](../../) to the supplied [XmlWriter](../../../system.xml/xmlwriter/).

```cpp
void System::Xml::Schema::XmlSchema::Write(const SharedPtr<XmlWriter> &writer, const SharedPtr<XmlNamespaceManager> &namespaceManager)
```


| Parameter | Type | Description |
| --- | --- | --- |
| writer | const SharedPtr\<XmlWriter\>\& | The [XmlWriter](../../../system.xml/xmlwriter/) to write to. |
| namespaceManager | const SharedPtr\<XmlNamespaceManager\>\& | The [XmlNamespaceManager](../../../system.xml/xmlnamespacemanager/). |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlWriter](../../../system.xml/xmlwriter/)
* Class [XmlNamespaceManager](../../../system.xml/xmlnamespacemanager/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
