[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_DOM' (#lazutils)

TDOMNodeList.GetItem

Gets the value for the Item property.

Declaration

Source position: laz2_dom.pas line 350

protected function TDOMNodeList.GetItem(

  index: LongWord

):TDOMNode;

Arguments

index

  

Ordinal position for the DOM node in the property value.

Function result

Value for the Item property.

Description

GetItem is a TDOMNode function used to get the value for the indexed Item property. Index contains the ordinal position in the list for the property value.

GetItem ensures that items in the internal TFPList instance are up-to-date. When the revision number for the list differs from the revision number for the node that owns the list, the BuildList method is called to refresh its contents and apply the node filtering mechanism for the container.

The return value contains the TDOMNode instance at the specified position in the list. The return value is Nil when Index contains a value not present in the internal list.

See also

TDOMNodeList.Item

  

Provides indexed access to DOM nodes in the list.

TDOMNodeList.BuildList

  

Fills the node list using the node filter.

TDOMNodeList.NodeFilter

  

Determines if the node can be used in the DOM node list.


Version 3.2 Generated 2024-02-25 Home