## XmlWriter::WriteValue(SharedPtr\<Object\>) method


Writes the object value.

```cpp
virtual void System::Xml::XmlWriter::WriteValue(SharedPtr<Object> value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | SharedPtr\<Object\> | The object value to write. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
## XmlWriter::WriteValue(const String\&) method


Writes a [String](../../../system/string/) value.

```cpp
virtual void System::Xml::XmlWriter::WriteValue(const String &value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | const String\& | The [String](../../../system/string/) value to write. |

## See Also

* Class [String](../../../system/string/)
* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
## XmlWriter::WriteValue(bool) method


Writes a [Boolean](../../../system/boolean/) value.

```cpp
virtual void System::Xml::XmlWriter::WriteValue(bool value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | bool | The [Boolean](../../../system/boolean/) value to write. |

## See Also

* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
## XmlWriter::WriteValue(DateTime) method


Writes a [DateTime](../../../system/datetime/) value.

```cpp
virtual void System::Xml::XmlWriter::WriteValue(DateTime value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | DateTime | The [DateTime](../../../system/datetime/) value to write. |

## See Also

* Class [DateTime](../../../system/datetime/)
* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
## XmlWriter::WriteValue(DateTimeOffset) method


Writes a [DateTimeOffset](../../../system/datetimeoffset/) value.

```cpp
virtual void System::Xml::XmlWriter::WriteValue(DateTimeOffset value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | DateTimeOffset | The [DateTimeOffset](../../../system/datetimeoffset/) value to write. |

## See Also

* Class [DateTimeOffset](../../../system/datetimeoffset/)
* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
## XmlWriter::WriteValue(double) method


Writes a [Double](../../../system/double/) value.

```cpp
virtual void System::Xml::XmlWriter::WriteValue(double value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | double | The [Double](../../../system/double/) value to write. |

## See Also

* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
## XmlWriter::WriteValue(float) method


Writes a single-precision floating-point number.

```cpp
virtual void System::Xml::XmlWriter::WriteValue(float value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | float | The single-precision floating-point number to write. |

## See Also

* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
## XmlWriter::WriteValue(Decimal) method


Writes a [Decimal](../../../system/decimal/) value.

```cpp
virtual void System::Xml::XmlWriter::WriteValue(Decimal value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | Decimal | The [Decimal](../../../system/decimal/) value to write. |

## See Also

* Class [Decimal](../../../system/decimal/)
* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
## XmlWriter::WriteValue(int32_t) method


Writes a [Int32](../../../system/int32/) value.

```cpp
virtual void System::Xml::XmlWriter::WriteValue(int32_t value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | int32_t | The [Int32](../../../system/int32/) value to write. |

## See Also

* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
## XmlWriter::WriteValue(int64_t) method


Writes a [Int64](../../../system/int64/) value.

```cpp
virtual void System::Xml::XmlWriter::WriteValue(int64_t value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | int64_t | The [Int64](../../../system/int64/) value to write. |

## See Also

* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
