Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.34 KB

TVIBinResource-IndexOfString.md

File metadata and controls

43 lines (28 loc) · 1.34 KB

IndexOfString method

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;

Description

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.

See Also