IObjectSerializer.Serialize<T>(T) 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.
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.