Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

nextSibling Property

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

Contains the next sibling of the node in the parent's child list.

var objXMLDOMNode = oXMLDOMNode.nextSibling;

Object. It returns the right sibling of this node.

HRESULT get_nextSibling(
  IXMLDOMNode** nextSibling
);

nextSibling

[out, retval] Right sibling of this node.

S_OK

Value returned if successful.

S_FALSE

Value returned when there is no next sibling.

E_INVALIDARG

Value returned if nextSibling is Null.

Headermsxml2.h, msxml2.idl
Windows Embedded CEWindows CE .NET 4.0 and later

This value depends on the value of the nodeType property.

Value Description

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.

This property is read-only, and applies to the following objects and interfaces:

IXMLDOMAttribute, IXMLDOMCDATASection, IXMLDOMCharacterData, IXMLDOMComment, DOMDocument, IXMLDOMDocumentFragment, IXMLDOMDocumentType, IXMLDOMElement, IXMLDOMEntity, IXMLDOMEntityReference, IXMLDOMNode, IXMLDOMNotation, IXMLDOMProcessingInstruction, IXMLDOMText, and IXTLRuntime

Community Additions

Show:
© 2015 Microsoft