共用方式為


XmlSerializerOutputFormatter.CreateSerializer(Type) 方法

定義

為指定的物件類型建立 的新實例 XmlSerializer

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

參數

type
Type

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

傳回

的新實例 XmlSerializer

適用於