Skip to main content

DOMEntityReference.CompareDocumentPosition

CompareDocumentPosition

Syntax

CompareDocumentPosition(<Node>)

Parameters

<Node> (required)

Type: DOMAttribute, DOMDocument, DOMElement, DOMDocumentType, DOMNotation, DOMEntity, DOMDocumentFragment, DOMText, DOMComment, DOMCDATASection, DOMProcessingInstruction, DOMEntityReference, XPathNamespace. DOM node used for comparison.

Returned value

Type: DOMDocumentPosition.

Description

Compares this node to the node passed as a parameter in order to define its position relative to the document.

Availability

Server, thick client, external connection, mobile application (server), mobile standalone server.

Translation

Русская версия: СсылкаНаСущностьDOM.СравнитьПозициюВДокументе (DOMEntityReference.CompareDocumentPosition)