AddElement method
Appends new element to the content model.

Applies to
TIcContentModel

Declaration
Procedure AddElement(name : TDOMString; param : byte);

Parameters
Name Name of element.
Param Multiplity of apperance of child element. Can be any of these values:
  • tcQuest Element is optional (one or zero).
  • tcNone Element appears once.
  • tcOneBase Element can appear zero or more times.
  • tcZeroBase Element can appear one or more times (at least once).

Raises
EIcDOMException Raises exception when you are trying to add appearing name in mixed content declaration.


HTML generated by Time2HELP
http://www.time2help.com