Contains the next sibling of this node in the parent's child list.
Visual Basic Syntax
Set objXMLDOMNode = oXMLDOMNode.nextSibling
C/C++ Syntax
HRESULT get_nextSibling(
IXMLDOMNode **nextSibling);
Parameters
nextSibling
[out]
Right sibling of this node.
C/C++ Return Values
S_OK
Value returned if successful.
S_FALSE
Value when returning null.
E_INVALIDARG
Value returned if nextSibling is null.
Remarks
This value depends on the value of the nodeType property.
NODE_ATTRIBUTE, NODE_DOCUMENT, NODE_DOCUMENT_FRAGMENT | Always returns null; these node types do not appear as children of any other nodes. |
NODE_CDATA_SECTION, NODE_COMMENT, NODE_DOCUMENT_TYPE, NODE_ELEMENT, NODE_ENTITY, NODE_ENTITY_REFERENCE, NODE_NOTATION, NODE_PROCESSING_INSTRUCTION, NODE_TEXT | Returns the node immediately following this node in the list of children of this node's parent. If no such node exists, returns null. |