Share via


Serializer 代理人

定義

序列化和還原序列化值。

public delegate void Serializer(object raw, ISerializationContext context, Type expected);
public sealed class Serializer
type Serializer = delegate of obj * ISerializationContext * Type -> unit
type Serializer = class
Public Delegate Sub Serializer(raw As Object, context As ISerializationContext, expected As Type)
Public NotInheritable Class Serializer

參數

raw
Object

要序列化的輸入物件。

context
ISerializationContext

正在序列化這個物件的內容。

expected
Type

此資料流程中的目前類型為使用中。

適用於