MessageToXml Method |
Namespace: OBCOM.NetClient
As an example, consider a Layout named CONTACT with four fields called SERVICE, GROUP, USERNAME and USERCODE. The string returned by this method for a Message with layout CONTACT would be identical to the following indented XML tree:
<CONTACT>
<SERVICE>service</SERVICE>
<GROUP>group</GROUP>
<USERNAME>user</USERNAME>
<USERCODE>12345</USERCODE>
</CONTACT>