## XmlWriter::WriteValue(bool) method


写入一个 [Boolean](../../../system/boolean/) 值。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| value | bool | 要写入的 [Boolean](../../../system/boolean/) 值。 |

## 另见

* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font for C++](../../../)
## XmlWriter::WriteValue(const String\&) method


写入一个 [String](../../../system/string/) 值。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| value | const String\& | 要写入的 [String](../../../system/string/) 值。 |

## 另见

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


写入一个 [DateTime](../../../system/datetime/) 值。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| value | DateTime | 要写入的 [DateTime](../../../system/datetime/) 值。 |

## 另见

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


写入一个 [DateTimeOffset](../../../system/datetimeoffset/) 值。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| value | DateTimeOffset | 要写入的 [DateTimeOffset](../../../system/datetimeoffset/) 值。 |

## 另见

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


写入一个 [Decimal](../../../system/decimal/) 值。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| value | Decimal | 要写入的 [Decimal](../../../system/decimal/) 值。 |

## 另见

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


写入一个 [Double](../../../system/double/) 值。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| value | double | 要写入的 [Double](../../../system/double/) 值。 |

## 另见

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


写入单精度浮点数。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | float | 要写入的单精度浮点数。 |

## 另见

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


写入一个 [Int32](../../../system/int32/) 值。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| value | int32_t | 要写入的 [Int32](../../../system/int32/) 值。 |

## 另见

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


写入一个 [Int64](../../../system/int64/) 值。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| value | int64_t | 要写入的 [Int64](../../../system/int64/) 值。 |

## 另见

* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font for C++](../../../)
## XmlWriter::WriteValue(SharedPtr\<Object\>) method


写入对象值。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | SharedPtr\<Object\> | 要写入的对象值。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font for C++](../../../)
