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

参数

type
Type

返回

DataContractSerializer 实例。

适用于