RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSOAPAttachment.SOAPToObject Method

Initializes this TSOAPAttachment instance to represent the value of its SOAP representation.

Pascal
procedure SOAPToObject(const RootNode: IXMLNode; const Node: IXMLNode; const ObjConverter: IObjConverter); override;
C++
virtual __fastcall SOAPToObject(const IXMLNode RootNode, const IXMLNode Node, const IObjConverter ObjConverter);

SOAPToObject initializes the published properties of this object instance so that they reflect the header's SOAP representation. In TSOAPAttachment, this method calls the converter's FindAttachment method to locate information about the attachment, and then calls the Init method to initialize this object from the located information.  

RootNode is an ancestor node of the attachment node that can contain information about the attachment node.  

Node is the node in the SOAP envelope that represents a reference to the attachment.  

ObjConverter is the interface of the default converter that translates between remotable objects and their SOAP representation. This is the interface to a TOPToSoapDomConvert instance.  

In TSOAPAttachment, SOAPToObject simply calls the InitObjectFromSOAP method of the converter supplied by the ObjConverter parameter. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!