Serializer.SerializeToArray<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.
Serializes the provided value into a new array.
public byte[] SerializeToArray<T>(T value);
member this.SerializeToArray : 'T -> byte[]
Public Function SerializeToArray(Of T) (value As T) As Byte()
Type Parameters
- T
The expected type of value.
Parameters
- value
- T
The value to serialize.
Returns
Byte[]
A byte array containing the serialized value.