Share via


ISAXAttributes::getValue Method (Windows Embedded CE 6.0)

1/6/2010

This method returns the text value of the attribute. If the index is out of range, this method returns NULL.

Syntax

HRESULT getValue(
  int nIndex, 
  const wchar_t** ppwchValue, 
  int* pcchValue
);

Parameters

  • nIndex
    [in] Attribute index (zero-based).
  • ppwchValue
    [out] Pointer to the pointer to the string value of the attribute.
  • pcchValue
    [out] Pointer to the length of the attribute string.

Return Value

  • S_OK
    Returned if the text value is returned successfully.
  • E_INVALIDARG
    Returned if an invalid index or no matching attribute is reported.
  • E_FAIL
    Returned if an internal error occurs.

Requirements

Header msxml2.h, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

ISAXAttributes
ISAXAttributes::getLength Method