MobileServiceTableSerializer.Serialize Method (Object, Boolean)
Serializes an instance to a JSON value.
Namespace: Microsoft.WindowsAzure.MobileServices
Assembly: Microsoft.WindowsAzure.MobileServices.Managed (in Microsoft.WindowsAzure.MobileServices.Managed.dll)
Syntax
'Declaration
Public Shared Function Serialize ( _
instance As Object, _
ignoreCustomSerialization As Boolean _
) As IJsonValue
'Usage
Dim instance As Object
Dim ignoreCustomSerialization As Boolean
Dim returnValue As IJsonValue
returnValue = MobileServiceTableSerializer.Serialize(instance, _
ignoreCustomSerialization)
public static IJsonValue Serialize(
Object instance,
bool ignoreCustomSerialization
)
public:
static IJsonValue^ Serialize(
Object^ instance,
bool ignoreCustomSerialization
)
static member Serialize :
instance:Object *
ignoreCustomSerialization:bool -> IJsonValue
public static function Serialize(
instance : Object,
ignoreCustomSerialization : boolean
) : IJsonValue
Parameters
- instance
Type: System.Object
The instance to serialize.
- ignoreCustomSerialization
Type: System.Boolean
true to ignore the custom serialization; otherwise, false.
Return Value
Type: IJsonValue
The serialized JSON value.