ComponentOne Menus and Toolbars for WinForms
C1.Win.Command.8 Assembly / 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 System.Object _
    ) As System.Integer
    public System.int IndexOf( 
       System.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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also