Поделиться через


ISAXAttributes::getQName Method (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

ISAXAttributes
ISAXAttributes::getLength Method