System::Runtime::Serialization::SerializationInfo::AddValue 方法

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

写入 boolean 值。未实现。

void System::Runtime::Serialization::SerializationInfo::AddValue(const System::String &name, bool value)
参数类型描述
名称const System::String&值名称。
bool要放置的值。

另见

SerializationInfo::AddValue(const System::String&, const System::SharedPtr<System::Object>&) method

写入 object 值。未实现。

void System::Runtime::Serialization::SerializationInfo::AddValue(const System::String &name, const System::SharedPtr<System::Object> &value)
参数类型描述
名称const System::String&值名称。
const System::SharedPtr<System::Object>&要放置的值。

另见

SerializationInfo::AddValue(const System::String&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) method

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

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&要放置的值的类型。

另见

SerializationInfo::AddValue(const System::String&, float) method

写入 float 值。未实现。

void System::Runtime::Serialization::SerializationInfo::AddValue(const System::String &name, float value)
参数类型描述
名称const System::String&值名称。
float要放置的值。

另见

SerializationInfo::AddValue(const System::String&, short) method

写入 short 值。未实现。

void System::Runtime::Serialization::SerializationInfo::AddValue(const System::String &name, short value)
参数类型描述
名称const System::String&值名称。
short要放置的值。

另见