Edit

Share via


SerializerFeature.AddSerializerType Method

Definition

Overloads

AddSerializerType(Type, Type)

Adds a serializer type.

AddSerializerType(Type, Type, Boolean)

Adds a serializer type.

AddSerializerType(Type, Type)

Source:
SerializerFeature.cs

Adds a serializer type.

public void AddSerializerType (Type targetType, Type serializerType);
member this.AddSerializerType : Type * Type -> unit
Public Sub AddSerializerType (targetType As Type, serializerType As Type)

Parameters

targetType
Type
serializerType
Type

Applies to

AddSerializerType(Type, Type, Boolean)

Source:
SerializerFeature.cs

Adds a serializer type.

public void AddSerializerType (Type targetType, Type serializerType, bool overrideExisting);
member this.AddSerializerType : Type * Type * bool -> unit
Public Sub AddSerializerType (targetType As Type, serializerType As Type, overrideExisting As Boolean)

Parameters

targetType
Type
serializerType
Type
overrideExisting
Boolean

Applies to