Skip to content

TDictionary.RemoveItem

Removes a variable or function from the dictionary

Declaration

Source position: fpmkunit.pp line 586

public 
procedure TDictionary.RemoveItem(const AName: string);

Description

RemoveItem removes the specified variable or function callback from the dictionary.

After removal, attempts to resolve the removed item name will fail with an exception.

This method is useful for dynamically modifying the available substitution variables during build processes.