Share via


XMLNode.NextSibling Property 

Returns a XMLNode object that represents the next element in the document that is at the same level as the specified element.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim xMLNode1 As XMLNode

Dim returnValue As XMLNode
returnValue = xMLNode1.NextSibling

Syntax

ReadOnly Property NextSibling() As XMLNode
XMLNode NextSibling {get;}
property XMLNode^ NextSibling{
    XMLNode^ get();
}
public XMLNode get_NextSibling();
function get NextSibling() : XMLNode;

Remarks

If the specified element is the last element in the XMLNodes collection, this property returns Nothing.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

XMLNode Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

XMLNode Members