Compartilhar via


ISAXAttributes::getValue Method

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

ISAXAttributes::getLength Method
ISAXAttributes