Compartir a través de


XmlDataContractSerializerOutputFormatter.CreateSerializer(Type) Método

Definición

Cree una nueva instancia de para el tipo de DataContractSerializer objeto especificado.

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

Parámetros

type
Type

Tipo de objeto para el que se debe crear el serializador.

Devoluciones

Nueva instancia de DataContractSerializer

Se aplica a