Share via


XmlSerializerOutputFormatter.GetCachedSerializer(Type) Method

Definition

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

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

Parameters

type
Type

Returns

The XmlSerializer instance.

Applies to