ComponentOne GanttView for WinForms
C1.Win.C1GanttView.4.5.2 Assembly / C1.Win.C1GanttView Namespace / ResourceRefCollection Class / IndexOf Method / IndexOf(Int32) Method

In This Topic
    IndexOf(Int32) Method
    In This Topic
    Searches for the specified ID of the resource and returns the zero-based index of the corresponding element.
    Syntax
    'Declaration
     
    Public Overloads Function IndexOf( _
       ByVal resourceID As System.Integer _
    ) As System.Integer
    public System.int IndexOf( 
       System.int resourceID
    )

    Parameters

    resourceID
    See Also