[]
        
(Showing Draft Content)

C1.GanttView.ResourceCollection.IndexOf

IndexOf Method

IndexOf(int)

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

Declaration
public int IndexOf(int id)
Parameters
Type Name Description
int id
Returns
Type Description
int

IndexOf(string)

Searches for the specified Name and returns the zero-based index of the corresponding resource.

Declaration
public int IndexOf(string name)
Parameters
Type Name Description
string name
Returns
Type Description
int