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


放置 boolean 值。未实现。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| name | const System::String\& | 值名称。 |
| value | bool | 要放置的值。 |

## 另见

* Class [String](../../../system/string/)
* Class [SerializationInfo](../)
* Namespace [System::Runtime::Serialization](../../)
* Library [Aspose.Page 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)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| name | const System::String\& | 值名称。 |
| value | 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.Page 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)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| name | const System::String\& | 值名称。 |
| value | 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.Page for C++](../../../)
## SerializationInfo::AddValue(const System::String\&, float) method


放置 float 值。未实现。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| name | const System::String\& | 值名称。 |
| value | 单精度浮点数 | 要放置的值。 |

## 另见

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


放置 short 值。未实现。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| name | const System::String\& | 值名称。 |
| value | short | 要放置的值。 |

## 另见

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