Share via


GeneralFunctions.Serialize Method

Definition

Overloads

Serialize(Object)

Serializes the object passed in returning an xml string.

Serialize<TType>(TType)

Serializes the object passed in returning an xml string.

Serialize(Object)

Serializes the object passed in returning an xml string.

public:
 static System::String ^ Serialize(System::Object ^ serialize);
public static string Serialize (object serialize);
static member Serialize : obj -> string
Public Shared Function Serialize (serialize As Object) As String

Parameters

serialize
Object

Specifies the object to serialize.

Returns

The serialized object as string (XML).

Applies to

Serialize<TType>(TType)

Serializes the object passed in returning an xml string.

public:
generic <typename TType>
 static System::String ^ Serialize(TType serializeObject);
public static string Serialize<TType> (TType serializeObject);
static member Serialize : 'ype -> string
Public Shared Function Serialize(Of TType) (serializeObject As TType) As String

Type Parameters

TType

Specifies the generic type used to serialize.

Parameters

serializeObject
TType

Specifies the object to serialize.

Returns

The serialized object as string (XML).

Applies to