Skip to main content
A newer version of this page is available. .

IXlTableColumnCollection.IndexOf(String) Method

Returns the index of the specified column in the collection.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v20.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.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