Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.45 KB

TVIBinResource-AddString.md

File metadata and controls

42 lines (28 loc) · 1.45 KB

AddString method

Project: Binary Version Information Manipulation Units.

Unit: DelphiDabbler.Lib.VIBin.Resource.

Class: TVIBinResource

Applies to: ~>1.0

function AddString(TableIdx: Integer; const Name, Value: string): Integer;

Adds a new string information item to a string table.

Parameters:

  • TableIdx -- Index of the string table within the string table list to which the string information item is to be added.
  • Name -- Name of the new string information item.
  • Value -- Value to be assigned to the new string information item.

Returns:

  • Index of the new string information item in its string table.

Exception:

  • EVIBinResource raised if the string table index is out of bounds or if a string information item with the given name already exists in the string table.

See Also