SerializationHelpers.SetSentinel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetSentinel(IDictionary<String,Object>) |
SetSentinel methods deep-grovel the given object looking for properties with null values. Every such property is replaced with a DateTime with a Year value of 1. This sentinel value convinces the autorest serializer to serialize a null value. |
SetSentinel(Hashtable) |
SetSentinel methods deep-grovel the given object looking for properties with null values. Every such property is replaced with a DateTime with a Year value of 1. This sentinel value convinces the autorest serializer to serialize a null value. |
SetSentinel(Object[]) |
SetSentinel methods deep-grovel the given object looking for properties with null values. Every such property is replaced with a DateTime with a Year value of 1. This sentinel value convinces the autorest serializer to serialize a null value. |
SetSentinel(IDictionary<String,Object>)
SetSentinel methods deep-grovel the given object looking for properties with null values. Every such property is replaced with a DateTime with a Year value of 1. This sentinel value convinces the autorest serializer to serialize a null value.
public static void SetSentinel (System.Collections.Generic.IDictionary<string,object> inputObject);
static member SetSentinel : System.Collections.Generic.IDictionary<string, obj> -> unit
Public Shared Sub SetSentinel (inputObject As IDictionary(Of String, Object))
Parameters
- inputObject
- IDictionary<String,Object>
Input object under serialization.
Applies to
SetSentinel(Hashtable)
SetSentinel methods deep-grovel the given object looking for properties with null values. Every such property is replaced with a DateTime with a Year value of 1. This sentinel value convinces the autorest serializer to serialize a null value.
public static void SetSentinel (System.Collections.Hashtable inputObject);
static member SetSentinel : System.Collections.Hashtable -> unit
Public Shared Sub SetSentinel (inputObject As Hashtable)
Parameters
- inputObject
- Hashtable
Input object under serialization.
Applies to
SetSentinel(Object[])
SetSentinel methods deep-grovel the given object looking for properties with null values. Every such property is replaced with a DateTime with a Year value of 1. This sentinel value convinces the autorest serializer to serialize a null value.
public static void SetSentinel (object[] inputObject);
static member SetSentinel : obj[] -> unit
Public Shared Sub SetSentinel (inputObject As Object())
Parameters
- inputObject
- Object[]
Input object under serialization.