IAPI::PopulateXMLObject

property PopulateXMLObject. (since v2.35.8)

Populates or repopulates an XML object from a file or a string.

 

This property is useful and efficient when your app needs to (re)populate various XML data

at runtime instead of creating and destroying XML objects again and again.

 

HRESULT PopulateXMLObject(
  Long hXMLObject,
  BSTR xmlAsFileOrString,
  long *pVal
);

Parameters

hXMLObject

[in] .   Handle of XML object, created by CreateXMLObject(…)

xmlAsFileOrString

[in] .   Full filename or string which contains XML data.

pVal

[out, retval] The returned value is 1 if succeeded or 0 if failed

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI