Aspose.Words.Examples.CSharp.Programming_Documents.Working_With_Document.AddRemoveColumn.Column.IndexOf C# (CSharp) Method

IndexOf() public method

Returns the index of the given cell in the column.
public IndexOf ( Cell cell ) : int
cell Cell
return int
            public int IndexOf(Cell cell)
            {
                return GetColumnCells().IndexOf(cell);
            }