Compartilhar via


SPKeyValuePairSerializationInfo Members

Include Protected Members
Include Inherited Members

Stores data that is needed to serialize and deserialize an object.

The SPKeyValuePairSerializationInfo type exposes the following members.

Methods

  Name Description
Public method AddValue Adds the specified value to the SPKeyValuePairSerializationInfo store, where it is associated with a specified name. Associating the value with a name makes it possible to deserialize the value at a later time.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetRawValue Returns the value that is paired with the specified name.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method TryGetValue<T>(String, T) Retrieves a value from the SPKeyValuePairSerializationInfo store based on the specified type and name.
Public method TryGetValue<T>(String, T, T) Retrieves a value from the SPKeyValuePairSerializationInfo store based on the specified type and name. This method returns a specified default value if a name cannot be located in the store.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable<KeyValuePair<String, Object>>.GetEnumerator Returns an enumerator that can be used to iterate through the key/value pairs in the collection.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator that can be used to iterate through the key/value pairs in the collection.

Top

See Also

Reference

SPKeyValuePairSerializationInfo Class

Microsoft.SharePoint.Utilities Namespace