Sign in Join
FPDoc Onlineexperiment

TDOMNamedNodeMap.GetNamedItem function

Member of TDOMNamedNodeMappublicIn unit Laz2_DOM

Gets the item with the specified name.

Declaration

pascal
function GetNamedItem(const name: DOMString): TDOMNode

Arguments

name

Name to locate in the Items for the map.

Function result

Item with the specified name, or Nil when not found.

Description

Calls FindSorted to locate the node with the specified name. The return value is Nil if a node with the specified name is not found in the SortedItem property for the map.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.