Previous | Next

GetColumn Method

Retrieves the header text and width for the specified file list column.

String GetColumn(
     Integer columnId,
     Integer field
)

Parameters

columnId
Type: Integer
The ID of the file list column for which the header text and width is to be retrieved. For the valid column IDs, see the Columns property.

field
Type: Integer
The type of information to retrieve:

  • 0 - Header text
  • 1 - Column width

Return Value

Type: String

If the method succeeds, the return value is the column information specified with the field parameter. If the method fails, the return value is "-1". To get extended error information, call GetLastError and GetLastErrorDesc methods.