Share via


AddChild Method

Adds a lookup table entry to the LookupTable collection. Returns a reference to the LookupTableEntry.

Syntax

expression.AddChild(Name, ParentUID, )

*expression   * Required. An expression that returns a LookupTable object.

Name    Required String. The name of the lookup table entry.

ParentUID    Optional Long. If this value is not specified, then the entry is inserted at the top level. Otherwise, the entry is inserted as the child of the entry with the specified unique identifier (UID). Checks are made that the entry with the specified UID is in the correct lookup table.

Applies to | LookupTable Collection Object