共用方式為


XmlDataContractSerializerInputFormatter.CreateSerializer(Type) 方法

定義

在還原序列化期間呼叫 ,以取得 DataContractSerializer

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

參數

type
Type

應該建立序列化程式的物件類型。

傳回

在還原序列化期間所使用的 DataContractSerializer

適用於