Compartilhar via


SerializerFeature.AddSerializerType Método

Definição

Sobrecargas

AddSerializerType(Type, Type)

Adiciona um tipo de serializador.

AddSerializerType(Type, Type, Boolean)

Adiciona um tipo de serializador.

AddSerializerType(Type, Type)

Origem:
SerializerFeature.cs

Adiciona um tipo de serializador.

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

Parâmetros

targetType
Type
serializerType
Type

Aplica-se a

AddSerializerType(Type, Type, Boolean)

Origem:
SerializerFeature.cs

Adiciona um tipo de serializador.

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)

Parâmetros

targetType
Type
serializerType
Type
overrideExisting
Boolean

Aplica-se a