Codeunit "BOM Tree Node Dictionary"

ID 3675
Namespace: Microsoft.Inventory.BOM.Tree

This exposes a collection of the BOM Tree Node objects that are hashed against the key for those instances.

Methods

Remove

Removes the instance from the dictionary that correponds to the given key.

<param name="InstanceKey">The given key.</param>
procedure Remove(InstanceKey: Text)

Parameters

Name Type Description
InstanceKey Text

ResetEnumerator

Resets the internal variables that allow iterating through the items in the dictionary. <remarks>It is a good practice to call this before starting an iteration.</remarks>

procedure ResetEnumerator()

MoveNext

Advances the enumerator to the next element of the dictionary.

procedure MoveNext(): Boolean

Returns

Type Description
Boolean

Count

Gets the number of items in the dictionary.

procedure Count(): Integer

Returns

Type Description
Integer

See also