Export (0) Print
Expand All

SerializationInfo Methods

The SerializationInfo type exposes the following members.

  NameDescription
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.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetBoolean Retrieves a Boolean value from the SerializationInfo store.
Public method GetByte Retrieves an 8-bit unsigned integer value from the SerializationInfo store.
Public method GetChar Retrieves a Unicode character value from the SerializationInfo store.
Public method GetDateTime Retrieves a DateTime value from the SerializationInfo store.
Public method GetDecimal Retrieves a decimal value from the SerializationInfo store.
Public method GetDouble Retrieves a double-precision floating-point value from the SerializationInfo store.
Public method GetEnumerator Returns a SerializationInfoEnumerator used to iterate through the name-value pairs in the SerializationInfo store.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetInt16 Retrieves a 16-bit signed integer value from the SerializationInfo store.
Public method GetInt32 Retrieves a 32-bit signed integer value from the SerializationInfo store.
Public method GetInt64 Retrieves a 64-bit signed integer value from the SerializationInfo store.
Public method GetSByte Retrieves an 8-bit signed integer value from the SerializationInfo store.
Public method GetSingle Retrieves a single-precision floating-point value from the SerializationInfo store.
Public method GetString Retrieves a String value from the SerializationInfo store.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetUInt16 Retrieves a 16-bit unsigned integer value from the SerializationInfo store.
Public method GetUInt32 Retrieves a 32-bit unsigned integer value from the SerializationInfo store.
Public method GetUInt64 Retrieves a 64-bit unsigned integer value from the SerializationInfo store.
Public method GetValue Retrieves a value from the SerializationInfo store.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetType Sets the Type of the object to serialize.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft