Docking Tab for WinForms | ComponentOne
C1.Win.Command Namespace / RadialMenuItemCollection Class / IndexOf Method / IndexOf(Object) Method
The object to locate in the RadialMenuItemCollection.

In This Topic
    IndexOf(Object) Method
    In This Topic
    Searches for the specified object and returns the zero-based index of the first occurrence within the entire RadialMenuItemCollection.
    Syntax
    'Declaration
     
    
    Public Overloads Function IndexOf( _
       ByVal value As Object _
    ) As Integer
    public int IndexOf( 
       object value
    )

    Parameters

    value
    The object to locate in the RadialMenuItemCollection.

    Return Value

    The zero-based index of the first occurrence of item within the entire RadialMenuItemCollection, if found; otherwise, -1.
    See Also