Share via


XmlDataContractSerializerInputFormatter.GetCachedSerializer(Type) Method

Definition

Gets the cached serializer or creates and caches the serializer for the given type.

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

Parameters

type
Type

Returns

The DataContractSerializer instance.

Applies to