Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
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