XmlSerializerOutputFormatter.GetCachedSerializer(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

参数

type
Type

返回

XmlSerializer 实例。

适用于