## SerializationInfo::AddValue(const System::String\&, bool) method


写入 boolean 值。未实现。

```cpp
void System::Runtime::Serialization::SerializationInfo::AddValue(const System::String &name, bool value)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 名称 | const System::String\& | 值名称。 |
| 值 | bool | 要放置的值。 |

## 另见

* Class [String](../../../system/string/)
* Class [SerializationInfo](../)
* Namespace [System::Runtime::Serialization](../../)
* Library [Aspose.Font for C++](../../../)
## SerializationInfo::AddValue(const System::String\&, const System::SharedPtr\<System::Object\>\&) method


写入 object 值。未实现。

```cpp
void System::Runtime::Serialization::SerializationInfo::AddValue(const System::String &name, const System::SharedPtr<System::Object> &value)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 名称 | const System::String\& | 值名称。 |
| 值 | const System::SharedPtr\<System::Object\>\& | 要放置的值。 |

## 另见

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [SerializationInfo](../)
* Namespace [System::Runtime::Serialization](../../)
* Library [Aspose.Font for C++](../../../)
## SerializationInfo::AddValue(const System::String\&, const System::SharedPtr\<System::Object\>\&, const System::TypeInfo\&) method


写入具有指定类型的 object 值。未实现。

```cpp
void System::Runtime::Serialization::SerializationInfo::AddValue(const System::String &name, const System::SharedPtr<System::Object> &value, const System::TypeInfo &type)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 名称 | const System::String\& | 值名称。 |
| 值 | const System::SharedPtr\<System::Object\>\& | 要放置的值。 |
| 类型 | const System::TypeInfo\& | 要放置的值的类型。 |

## 另见

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [TypeInfo](../../../system/typeinfo/)
* Class [SerializationInfo](../)
* Namespace [System::Runtime::Serialization](../../)
* Library [Aspose.Font for C++](../../../)
## SerializationInfo::AddValue(const System::String\&, float) method


写入 float 值。未实现。

```cpp
void System::Runtime::Serialization::SerializationInfo::AddValue(const System::String &name, float value)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 名称 | const System::String\& | 值名称。 |
| 值 | float | 要放置的值。 |

## 另见

* Class [String](../../../system/string/)
* Class [SerializationInfo](../)
* Namespace [System::Runtime::Serialization](../../)
* Library [Aspose.Font for C++](../../../)
## SerializationInfo::AddValue(const System::String\&, short) method


写入 short 值。未实现。

```cpp
void System::Runtime::Serialization::SerializationInfo::AddValue(const System::String &name, short value)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 名称 | const System::String\& | 值名称。 |
| 值 | short | 要放置的值。 |

## 另见

* Class [String](../../../system/string/)
* Class [SerializationInfo](../)
* Namespace [System::Runtime::Serialization](../../)
* Library [Aspose.Font for C++](../../../)
