SALES: 1-800-867-1380
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SerializationInfo.AddValue Method

Adds a value into the SerializationInfo.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method AddValue(String, Boolean) Adds a Boolean value into the SerializationInfo store.
Public method AddValue(String, Byte) Adds an 8-bit unsigned integer value into the SerializationInfo store.
Public method AddValue(String, Char) Adds a Unicode character value into the SerializationInfo store.
Public method AddValue(String, DateTime) Adds a DateTime value into the SerializationInfo store.
Public method AddValue(String, Decimal) Adds a decimal value into the SerializationInfo store.
Public method AddValue(String, Double) Adds a double-precision floating-point value into the SerializationInfo store.
Public method AddValue(String, Int16) Adds a 16-bit signed integer value into the SerializationInfo store.
Public method AddValue(String, Int32) Adds a 32-bit signed integer value into the SerializationInfo store.
Public method AddValue(String, Int64) Adds a 64-bit signed integer value into the SerializationInfo store.
Public method AddValue(String, Object) Adds the specified object into the SerializationInfo store, where it is associated with a specified name.
Public method AddValue(String, SByte) Adds an 8-bit signed integer value into the SerializationInfo store.
Public method AddValue(String, Single) Adds a single-precision floating-point value into the SerializationInfo store.
Public method AddValue(String, UInt16) Adds a 16-bit unsigned integer value into the SerializationInfo store.
Public method AddValue(String, UInt32) Adds a 32-bit unsigned integer value into the SerializationInfo store.
Public method AddValue(String, UInt64) Adds a 64-bit unsigned integer value into the SerializationInfo store.
Public method AddValue(String, Object, Type) Adds a value into the SerializationInfo store, where value is associated with name and is serialized as being of Type type.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft