共用方式為


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 執行個體。

適用於