XmlSerializationReader.AddTarget(String, Object) Método

Definição

Armazena um objeto que está sendo desserializado de um elemento multiRef com codificação SOAP para acesso posterior por meio do método GetTarget(String).Stores an object that is being deserialized from a SOAP-encoded multiRef element for later access through the GetTarget(String) method.

Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.

protected:
 void AddTarget(System::String ^ id, System::Object ^ o);
protected void AddTarget (string? id, object? o);
protected void AddTarget (string id, object o);
member this.AddTarget : string * obj -> unit
Protected Sub AddTarget (id As String, o As Object)

Parâmetros

id
String

O valor do atributo id de um elemento multiRef que identifica o elemento.The value of the id attribute of a multiRef element that identifies the element.

o
Object

O objeto que é desserializado do elemento XML.The object that is deserialized from the XML element.

Comentários

Os membros protegidos do XmlSerializationReader são destinados para uso somente por classes derivadas que são usadas internamente dentro da infraestrutura de serialização de .NET Framework XML.The protected members of XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

A codificação SOAP permite que um elemento XML exclusivo apareça uma vez em uma mensagem SOAP como um multiRef elemento identificado por um id atributo.SOAP encoding allows a unique XML element to appear once within a SOAP message as a multiRef element identified by an id attribute. O id valor pode ser referenciado várias vezes por ref atributos (ou href atributos em SOAP 1,1) em elementos substitutos.The id value can be referenced multiple times by ref attributes (or href attributes in SOAP 1.1) in substitute elements.

A codificação SOAP é descrita na seção 5 da especificação SOAP 1,1.SOAP encoding is described in Section 5 of the SOAP 1.1 specification.

Aplica-se a