SerializerFeature.AddSerializerType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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