[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Finds a DOM Node with the specified name in the sorted container.
Source position: laz2_dom.pas line 393
protected function TDOMNamedNodeMap.FindSorted( |
const name: DOMString; |
out Index: LongWord |
):Boolean; |
name |
|
Name to locate in the sorted list. |
Index |
|
Ordinal position for the node in the sorted list. |
True if a node with the specified name is found in the sorted list.
Name is a DOMString value with the name for the DOM node to locate in the SortedItem container.
Index is an output parameter where the ordinal position in the sorted list is stored. The value is 0 (zero) if a DOM node with the specified name is not found in the sorted container.
The return value is True when a TDOMNode instance is located with the specified name. The return value is False if a DOM node with the specified name is not found in the sorted container.
Calls the CompareName method for each TDOMNode instance to compare the value in name to the NodeName property for the node.
|
Provides indexed access to the sorted DOM Nodes in the container. |
|
|
Name for the DOM node. |
|
|
Compares the NodeName in the DOM Node to the specified value. |
Version 3.2 | Generated 2024-02-25 | Home |