Home
Products & Services
Developers
XML
XML-RPC
Contents Table
On-Line Help
Release Notes
Install Notes
Binaries
Sources
RSS
About
Want to know more?
Use the following form to contact someone at EnAppSys for more information.

XMLRPCValue Object

See Also   Example   Properties   Methods   Events

Models an XML-RPC Value structure.

Class Diagram

Remarks

The XML-RPC Value structure can contain one of eight XML-RPC types. These are stored in this object as eight properties that end in the word Value, e.g. 'ArrayValue'. The object can only be of one type and this is indicated by the ValueType property. This object is not creatable and so needs to be referenced from one of its parent objects (XMLRPCArray, XMLRPCMember or XMLRPCParams). An example of the way to use the XMLRPCValue object is detailed as follows:

Dim X As New XMLRPCArray

X.AddString "Fred"

If X(1).ValueType <> XMLRPC_STRING Then
    MsgBox "Expecting A String", vbCritical + vbOKOnly, App.Title
Else
    MsgBox "Value is : '" & X(1).StringValue & "'", vbInformation + vbOKOnly, App.Title
End If

Background

The XML-RPC specification details the structure of the XML fragment which this object models as follows:

<value><int>4</int></value>
Terms of Use, Cookie and Privacy PoliciesAll Materials on this Website are Copyright EnAppSys Ltd. ©2002 - 2012
Registered Office: EnAppSys Ltd, Arnison House, 139B The High Street, Yarm, Stockton-on-Tees TS15 9AY
Registered in England and Wales, Number: 4685938