ISAXAttributes::getURI Method (Compact 2013)
3/26/2014
This method finds an attribute's namespace URI by index.
Returns all the information related to the name of the attribute available at the index.
Syntax
HRESULT getURI(
int nIndex,
const wchar_t** ppwchUri,
int* pcchUri
);
Parameters
- nIndex
[in] Attribute's index (zero-based).
- ppwchUri
[out] Pointer to the pointer to the namespace URI.
- pcchUri
[out] Pointer to the length of the namespace URI.
Return Value
- S_OK
Returned if the URI is returned successfully.
- E_INVALIDARG
Returned for an invalid index or if no matching attribute is found.
- E_FAIL
Returned if an internal error occurs.
Remarks
Each return string can be disabled by calling the method with NULL for the corresponding output parameters.
It is an error to pass NULL for the character count unless NULL is also passed for the corresponding output parameter.
Requirements
Header |
msxml2.h, |
Library |
uuid.lib |