ValueSerializer<T>.SerializeToArray(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 (scoped ref T value);
member this.SerializeToArray : 'T -> byte[]
Public Function SerializeToArray (ByRef value As T) As Byte()
Parameters
- value
- T
The value to serialize.
Returns
Byte[]
A byte array containing the serialized value.