SystemSerializer.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.
Returns the value so that it can be serialized directly.
public string? Serialize<T>(T value);
abstract member Serialize : 'T -> string
override this.Serialize : 'T -> string
Public Function Serialize(Of T) (value As T) As String
Type Parameters
- T
Type to serialize from.
Parameters
- value
- T
Value to serialize.
Returns
String representation of value.