Partilhar via


XmlDataContractSerializerOutputFormatter.CreateSerializer(Type) Método

Definição

Crie uma nova instância de para o tipo de DataContractSerializer objeto fornecido.

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

O tipo de objeto para o qual o serializador deve ser criado.

Retornos

Uma nova instância do DataContractSerializer

Aplica-se a