ComponentOne Menus and Toolbars for WinForms
IndexOfID Method (C1NavBarButton.ButtonCollection)

C1.Win.C1Command.4 Assembly > C1.Win.C1Command Namespace > C1NavBarButton.ButtonCollection Class : IndexOfID Method
The value of the ID property to search for.
Determines the index of the item in the collection with the specified value of the ID property.
Syntax
'Declaration
 
Public Function IndexOfID( _
   ByVal id As System.Integer _
) As System.Integer
public System.int IndexOfID( 
   System.int id
)

Parameters

id
The value of the ID property to search for.

Return Value

Index of the button with the specified ID, or -1 if no such button exists.
See Also

Reference

C1NavBarButton.ButtonCollection Class
C1NavBarButton.ButtonCollection Members