共用方式為


SerializerFeature 類別

定義

包含序列化程式和序列化類型的中繼資料。

public class SerializerFeature
type SerializerFeature = class
Public Class SerializerFeature
繼承
SerializerFeature

建構函式

SerializerFeature()

包含序列化程式和序列化類型的中繼資料。

屬性

KnownTypes

取得有關可序列化之型別的元資料集合。

SerializerDelegates

取得有關用來序列化個別型別之委派的元資料集合。

SerializerTypes

取得有關包含個別型別之序列化程式方法之型別的元資料集合。

方法

AddKnownType(String, String)

將已知型別新增至 KnownTypes 屬性。

AddSerializerType(Type, Type)

加入序列化程式類型。

AddSerializerType(Type, Type, Boolean)

加入序列化程式類型。

適用於