Share via


ISAXAttributes::getValueFromName Method (Windows CE 5.0)

Send Feedback

This method finds the attribute by namespace name and returns the attribute's text value. For ambiguous names, this method returns the value from the first namespace.

HRESULT getValueFromName(const wchar_t* pwchUri,intcchUri,const wchar_t* pwchLocalName,intcchLocalName,const wchar_t** ppwchValue,int* pcchValue);

Parameters

  • pwchUri
    [in] Pointer to the namespace URI or, if the namespace has no URI, an empty string.
  • cchUri
    [in] Length of the URI string.
  • pwchLocalName
    [in] Pointer to the local name of the attribute.
  • cchLocalName
    [in] Length of the local name string.
  • ppwchValue
    [out] Pointer to the pointer to the string value of the attribute.
  • pcchValue
    [out] Pointer to the length of the attribute's string value.

Return Values

  • S_OK
    Returned if the text value is returned successfully.
  • E_INVALIDARG
    Returned for an invalid index or if 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.