Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

Script Syntax

Copy Code
var objXMLDOMNode = oXMLDOMNode.previousSibling;

Remarks

Script Parameters

None.

Script Return Value

Object. Left sibling of this node.

C/C++ Syntax

Copy Code
HRESULT get_previousSibling(
  IXMLDOMNode** 
previousSibling
);

Remarks

C/C++ Parameters

previousSibling

[out, retval] Left sibling of this node.

C/C++ Return Values

S_OK

Value returned if successful.

S_FALSE

Value returned when there is no previous sibling.

E_INVALIDARG

Value returned if previousSiblingis Null.

Requirements

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

General Remarks

This value depends on the value of the nodeTypeproperty.

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 preceding this node in its parent's child list. Returns Null if no such node exists.

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

See Also

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.