Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method finds an attribute by XML 1.0 qualified name (QName) and returns the (zero-based) index for the attribute. For ambiguous names, this method returns the name from the first namespace.
HRESULT getIndexFromQName(const wchar_t* pwchQName,intcchQName, int* pnIndex);
Parameters
- pwchQName
[in] Pointer to the qualified name for the attribute. - cchQName
[in] Length of the qualified name string. - pnIndex
[out, retval] Pointer to the returned index value.
Return Values
- S_OK
Returned if the index value is returned successfully. - E_INVALIDARG
Returned if no matching attribute is found. - 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