Partager via


SerializerFeature.AddSerializerType Méthode

Définition

Surcharges

AddSerializerType(Type, Type)

Ajoute un type de sérialiseur.

AddSerializerType(Type, Type, Boolean)

Ajoute un type de sérialiseur.

AddSerializerType(Type, Type)

Source:
SerializerFeature.cs

Ajoute un type de sérialiseur.

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

Paramètres

targetType
Type
serializerType
Type

S’applique à

AddSerializerType(Type, Type, Boolean)

Source:
SerializerFeature.cs

Ajoute un type de sérialiseur.

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)

Paramètres

targetType
Type
serializerType
Type
overrideExisting
Boolean

S’applique à