PersistentComponentStateSerializer<T>.Persist 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 and writes it to the writer.
public abstract void Persist(T value, System.Buffers.IBufferWriter<byte> writer);
abstract member Persist : 'T * System.Buffers.IBufferWriter<byte> -> unit
Public MustOverride Sub Persist (value As T, writer As IBufferWriter(Of Byte))
Parameters
- value
- T
The value to serialize.
- writer
- IBufferWriter<Byte>
The buffer writer to write the serialized data to.