setQName Method
Sets the qualified name (QName) of a specific attribute.
[Visual Basic]
Implementation Syntax
Sub setQName(ByVal nIndex As Long, ByVal strQName As String)
Usage Syntax
oIMXAttributes.setQName(nIndex, strQName)
[C/C++]
Syntax
HRESULT setQName( [in] int nIndex, [in] BSTR strQName);
Return Values
- S_OK
- The value returned if no errors are reported.
- E_FAIL
- There is only one specific fatal error for this
IMXAttributes
implementation: incorrect index (E_INVALIDARG
). It may return a generic failure code, such as out-of-memory.
Parameters
- nIndex
- The attribute's index value.
- strQName
- The XML 1.0 qualified name or, if the qualified name is not available, an empty string.
To view reference material for Visual Basic or C++ only, click the Language Filter button in the upper-left corner of the page.
See Also
Applies to: IMXAttributes Interface