Skip to main content

IXlTableColumnCollection.IndexOf(String) Method

Returns the index of the specified column in the collection.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

int IndexOf(
    string name
)

Parameters

Name Type Description
name String

A String value that specifies the name of the column to locate in the collection.

Returns

Type Description
Int32

A zero-based integer specifying the position of the column in the table. -1 if the column doesn’t belong to the table.

See Also