Share via


XmlDataContractSerializerInputFormatter.CreateSerializer(Type) Method

Definition

Called during deserialization to get the DataContractSerializer.

protected:
 virtual System::Runtime::Serialization::DataContractSerializer ^ CreateSerializer(Type ^ type);
protected virtual System.Runtime.Serialization.DataContractSerializer CreateSerializer (Type type);
protected virtual System.Runtime.Serialization.DataContractSerializer? CreateSerializer (Type type);
abstract member CreateSerializer : Type -> System.Runtime.Serialization.DataContractSerializer
override this.CreateSerializer : Type -> System.Runtime.Serialization.DataContractSerializer
Protected Overridable Function CreateSerializer (type As Type) As DataContractSerializer

Parameters

type
Type

The type of object for which the serializer should be created.

Returns

The DataContractSerializer used during deserialization.

Applies to