Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub AddValue ( _
name As String, _
value As Object _
)
'Usage
Dim instance As SPKeyValuePairSerializationInfo
Dim name As String
Dim value As Object
instance.AddValue(name, value)
public void AddValue(
string name,
Object value
)
Parameters
name
Type: System.StringThe name to be associated with the value.
value
Type: System.ObjectThe value to be serialized.
Remarks
If the name parameter is null, an exception of type System.ArgumentNullException is thrown.
See also
Reference
SPKeyValuePairSerializationInfo class