## StringWriter::Write(char_t) method


Writes the specified character to the stream.

```cpp
virtual void System::IO::StringWriter::Write(char_t value) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | char_t | The value to write |

## See Also

* Class [StringWriter](../)
* Namespace [System::IO](../../)
* Library [Aspose.PUB for C++](../../../)
## StringWriter::Write(const ArrayPtr\<char_t\>\&, int32_t, int32_t) method


Writes the specified subrange of characters from the specified character array to the stream.

```cpp
virtual void System::IO::StringWriter::Write(const ArrayPtr<char_t> &buffer, int32_t index, int32_t count) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| buffer | const ArrayPtr\<char_t\>\& | The array containing the characters to write |
| index | int32_t | A 0-based index of the elemnet in **buffer** at which the subrange to write begins |
| count | int32_t | The number of characters in the subrange to write |

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [StringWriter](../)
* Namespace [System::IO](../../)
* Library [Aspose.PUB for C++](../../../)
## StringWriter::Write(const String\&) method


Writes the specified string to the stream.

```cpp
virtual void System::IO::StringWriter::Write(const String &value) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | const String\& | The string to write |

## See Also

* Class [String](../../../system/string/)
* Class [StringWriter](../)
* Namespace [System::IO](../../)
* Library [Aspose.PUB for C++](../../../)
