> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IndexOf Method of the TableSeparators Object

This method returns the index of a table separator in the collection. If there is no such separator in the collection, -1 is returned.

## Syntax

### C++

```cpp theme={null}
HRESULT IndexOf(
  ITableSeparator* Separator,
  int*             Result
);
```

### C\#

```csharp theme={null}
int IndexOf( ITableSeparator Separator );
```

### Visual Basic .NET

```vb theme={null}
Function IndexOf(Separator As ITableSeparator) As Integer
```

## Parameters

Separator

\[in] Refers to the [TableSeparator](/fine-reader/engine/api-reference/layout-related-objects/tableseparator) object which corresponds to the table separator that is to be found.

Result

\[out, retval] This parameter contains the index of element which corresponds to the specified separator.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## See also

[TableSeparators](/fine-reader/engine/api-reference/layout-related-objects/tableseparators)
