Partager via


ISAXAttributes::getQName Method (Compact 2013)

3/26/2014

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

See Also

Reference

ISAXAttributes
ISAXAttributes::getLength Method