Project: Binary Version Information Manipulation Units.
Unit: DelphiDabbler.Lib.VIBin.Resource.
Class: TVIBinResource
Applies to: ~>1.0
function IndexOfString(TableIdx: Integer; const Name: string): Integer;
Gets the index of a named string information item within a string table.
Parameters:
- TableIdx -- Index of the string table within the string table list.
- Name -- Name of the string information item within the selected string table.
Returns:
- The index of the named string information item in the specified string table, or
-1
if the name can't be found.
Exception:
- EVIBinResource is raised if TableIdx is out of bounds.