Sdílet prostřednictvím


XmlDataContractSerializerOutputFormatter.CreateSerializer(Type) Metoda

Definice

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

Parametry

type
Type

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

Návraty

Nová instance DataContractSerializer

Platí pro