IAPI::NamedItemValueFromElementListAt

property NamedItemValueFromElementListAt.

Retrieves a value from an XML name/key located into an element list.

 

HRESULT NamedItemValueFromElementListAt(
  long hXMLObject,
  long hXMLElementList,
  BSTR NamedItem,
  long OffSet,
  BSTR *pVal
);

Parameters

hXMLObject

[in] .   Handle of XML object

hXMLElementList

[in] .   Handle of XML element list

NamedItem

[in] .   XML name or key

         If NamedItem = "<text/>", then only text part is returned

         If NamedItem = "<xml/>", then XML part is returned

OffSet

[in] .   Index of the an XML element

pVal

[out, retval] The returned value is a BSTR string or an empty string

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