addAttributeFromIndex Method
Adds an attribute, whose value is equal to the indexed attribute in the input attributes object, to the end of the list.
Visual Basic Implementation Syntax
Sub addAttributeFromIndex(ByVal varAtts, ByVal nIndex As Long)
Visual Basic Usage Syntax
oIMXAttributes.addAttributeFromIndex
(varAtts, nIndex)
C/C++ Syntax
HRESULT addAttributeFromIndex(
[in] VARIANT varAtts,
[in] int nIndex);
Return Values
S_OK
The value returned if no errors are reported.
E_FAIL
The value returned if index is out of range.
Parameters
varAtts
The variant type.
nIndex
The attribute's index value.
Versioning
Implemented in: MSXML 3.0 and later