Partager via


ISAXAttributes::getValue Method (Compact 2013)

3/26/2014

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

See Also

Reference

ISAXAttributes
ISAXAttributes::getLength Method