Edit

Share via


IObjectSerializer.Serialize<T>(T) Method

Definition

Serialize an object into a string. It is recommended to use strings as the final format for objects.

public string? Serialize<T>(T value);
abstract member Serialize : 'T -> string
Public Function Serialize(Of T) (value As T) As String

Type Parameters

T

The type of the object to serialize.

Parameters

value
T

The object to serialize.

Returns

The serialized object.

Applies to