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

TDOMAttrDef.AddEnumToken

Adds the specified value to the allowed values for the attribute node.

Declaration

Source position: laz2_dom.pas line 813

public function TDOMAttrDef.AddEnumToken(

  Buf: DOMPChar;

  Len: Integer

):Boolean;

Arguments

Buf

  

DOMPChar value added to the enumeration.

Len

  

Length of the value in Buf.

Function result

True if the value was successfully added in the method.

Description

Checks existing values in the enumeration to prevent duplicates. The return value is False if Buf already exists in the enumeration.


Version 4.0 Generated 2025-05-03 Home