Share via


XMLNode.PreviousSibling Property 

Returns a XMLNode object that represents the previous 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.PreviousSibling

Syntax

ReadOnly Property PreviousSibling() As XMLNode
XMLNode PreviousSibling {get;}
property XMLNode^ PreviousSibling{
    XMLNode^ get();
}
public XMLNode get_PreviousSibling();
function get PreviousSibling() : XMLNode;

Remarks

If the specified element is the first 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