Compartir a través de


ISAXAttributes::getQName Method

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Finds an attribute's qualified name by index.

Syntax

HRESULT getQName(
  int nIndex, 
  const wchar_t** ppwchQName, 
  int* ppchQName
);

Parameters

  • nIndex
    [in] The attribute's index value.
  • ppwchQName
    [out] The attribute's qualified name.
  • ppchQName
    [out] The length of the qualified name string or –1 (if zero-terminated).

Return Value

  • S_OK
    Returned if the qualified name (QName) is returned successfully.
  • E_FAIL
    Returned if an internal error is reported.
  • E_INVALIDARG
    Returned if QName is not found.

Remarks

For the xmlns namespace, the qualified name value is empty.

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