Share via


ISAXAttributes::getValue Method (Windows CE 5.0)

Send Feedback

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

HRESULT getValue(intnIndex,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 Values

  • 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

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.

See Also

getLength Method | ISAXAttributes:IUnknown Interface

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.