[]
        
(Showing Draft Content)

C1.GanttView.ColumnCollection.IndexOf

IndexOf Method

IndexOf(int)

Searches for the specified ID and returns the zero-based index of the corresponding column.

Declaration
public int IndexOf(int id)
Public Function IndexOf(id As Integer) As Integer
Parameters
Type Name Description
int id
Returns
Type Description
int

IndexOf(TaskProperty)

Searches for the specified value of Property and returns the zero-based index of the corresponding column.

Declaration
public int IndexOf(TaskProperty property)
Public Function IndexOf([property] As TaskProperty) As Integer
Parameters
Type Name Description
TaskProperty property
Returns
Type Description
int