TDOMNamedNodeMap.FindSorted function
Finds a DOM Node with the specified name in the sorted container.
Declaration
function FindSorted(const name: DOMString; out Index: LongWord)
: BooleanArguments
name | Name to locate in the sorted list. |
Index | Ordinal position for the node in the sorted list. |
Function result
True if a node with the specified name is found in the sorted list.Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
