Sdílet prostřednictvím


XmlSerializerOutputFormatter.CreateSerializer(Type) Metoda

Definice

Vytvořte novou instanci pro daný typ objektu 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

Parametry

type
Type

Typ objektu, pro který by měl být vytvořen serializátor.

Návraty

Nová instance XmlSerializer

Platí pro