Language

SerializationHelpers.RestoreSentinel Method

Definition

Overloads

Name Description
RestoreSentinel(IDictionary<String,Object>)

RestoreSentinel reverses the effect of SetSentinel(IDictionary<String,Object>): any value that was replaced with a DateTime sentinel (Year == 1) is set back to null. Call this after serialization to avoid permanently mutating the in-memory object.

RestoreSentinel(Hashtable)

RestoreSentinel reverses the effect of SetSentinel(Hashtable): any value that was replaced with a DateTime sentinel (Year == 1) is set back to null.

RestoreSentinel(Object[])

RestoreSentinel reverses the effect of SetSentinel(Object[]) on nested dictionaries within an array.

RestoreSentinel(IDictionary<String,Object>)

RestoreSentinel reverses the effect of SetSentinel(IDictionary<String,Object>): any value that was replaced with a DateTime sentinel (Year == 1) is set back to null. Call this after serialization to avoid permanently mutating the in-memory object.

public static void RestoreSentinel(System.Collections.Generic.IDictionary<string,object> inputObject);
static member RestoreSentinel : System.Collections.Generic.IDictionary<string, obj> -> unit
Public Shared Sub RestoreSentinel (inputObject As IDictionary(Of String, Object))

Parameters

inputObject
IDictionary<String,Object>

Applies to

RestoreSentinel(Hashtable)

RestoreSentinel reverses the effect of SetSentinel(Hashtable): any value that was replaced with a DateTime sentinel (Year == 1) is set back to null.

public static void RestoreSentinel(System.Collections.Hashtable inputObject);
static member RestoreSentinel : System.Collections.Hashtable -> unit
Public Shared Sub RestoreSentinel (inputObject As Hashtable)

Parameters

inputObject
Hashtable

Applies to

RestoreSentinel(Object[])

RestoreSentinel reverses the effect of SetSentinel(Object[]) on nested dictionaries within an array.

public static void RestoreSentinel(object[] inputObject);
static member RestoreSentinel : obj[] -> unit
Public Shared Sub RestoreSentinel (inputObject As Object())

Parameters

inputObject
Object[]

Applies to