## XmlSchema::Write(const SharedPtr\<IO::Stream\>\&) method


将 XML [Schema](../../) 写入提供的数据流。

```cpp
void System::Xml::Schema::XmlSchema::Write(const SharedPtr<IO::Stream> &stream)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 流 | const SharedPtr\<IO::Stream\>\& | 提供的数据流。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Font for C++](../../../)
## XmlSchema::Write(const SharedPtr\<IO::Stream\>\&, const SharedPtr\<XmlNamespaceManager\>\&) method


使用指定的 [XmlNamespaceManager](../../../system.xml/xmlnamespacemanager/)，将 XML [Schema](../../) 写入提供的流。

```cpp
void System::Xml::Schema::XmlSchema::Write(const SharedPtr<IO::Stream> &stream, const SharedPtr<XmlNamespaceManager> &namespaceManager)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 流 | const SharedPtr\<IO::Stream\>\& | 提供的数据流。 |
| namespaceManager | const SharedPtr\<XmlNamespaceManager\>\& | 该 [XmlNamespaceManager](../../../system.xml/xmlnamespacemanager/)。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [XmlNamespaceManager](../../../system.xml/xmlnamespacemanager/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Font for C++](../../../)
## XmlSchema::Write(const SharedPtr\<IO::TextWriter\>\&) method


将 XML [Schema](../../) 写入提供的 [IO::TextWriter](../../../system.io/textwriter/)。

```cpp
void System::Xml::Schema::XmlSchema::Write(const SharedPtr<IO::TextWriter> &writer)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| writer | const SharedPtr\<IO::TextWriter\>\& | 用于写入的 [IO::TextWriter](../../../system.io/textwriter/)。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [TextWriter](../../../system.io/textwriter/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Font for C++](../../../)
## XmlSchema::Write(const SharedPtr\<IO::TextWriter\>\&, const SharedPtr\<XmlNamespaceManager\>\&) method


将 XML [Schema](../../) 写入提供的 TextWriter。

```cpp
void System::Xml::Schema::XmlSchema::Write(const SharedPtr<IO::TextWriter> &writer, const SharedPtr<XmlNamespaceManager> &namespaceManager)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| writer | const SharedPtr\<IO::TextWriter\>\& | 用于写入的 [IO::TextWriter](../../../system.io/textwriter/)。 |
| namespaceManager | const SharedPtr\<XmlNamespaceManager\>\& | 该 [XmlNamespaceManager](../../../system.xml/xmlnamespacemanager/)。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [TextWriter](../../../system.io/textwriter/)
* Class [XmlNamespaceManager](../../../system.xml/xmlnamespacemanager/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Font for C++](../../../)
## XmlSchema::Write(const SharedPtr\<XmlWriter\>\&) method


将 XML [Schema](../../) 写入提供的 [XmlWriter](../../../system.xml/xmlwriter/)。

```cpp
void System::Xml::Schema::XmlSchema::Write(const SharedPtr<XmlWriter> &writer)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| writer | const SharedPtr\<XmlWriter\>\& | 用于写入的 [XmlWriter](../../../system.xml/xmlwriter/)。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlWriter](../../../system.xml/xmlwriter/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Font for C++](../../../)
## XmlSchema::Write(const SharedPtr\<XmlWriter\>\&, const SharedPtr\<XmlNamespaceManager\>\&) method


将 XML [Schema](../../) 写入提供的 [XmlWriter](../../../system.xml/xmlwriter/)。

```cpp
void System::Xml::Schema::XmlSchema::Write(const SharedPtr<XmlWriter> &writer, const SharedPtr<XmlNamespaceManager> &namespaceManager)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| writer | const SharedPtr\<XmlWriter\>\& | 用于写入的 [XmlWriter](../../../system.xml/xmlwriter/)。 |
| namespaceManager | const SharedPtr\<XmlNamespaceManager\>\& | 该 [XmlNamespaceManager](../../../system.xml/xmlnamespacemanager/)。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlWriter](../../../system.xml/xmlwriter/)
* Class [XmlNamespaceManager](../../../system.xml/xmlnamespacemanager/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Font for C++](../../../)
