Collection.IndexOf(ICollectionItem) Method
In This Article
Returns the specified item’s position within the collection.
Namespace: DevExpress.XtraNavBar
Assembly: DevExpress.XtraNavBar.v24.2.dll
NuGet Package: DevExpress.Win
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
item | ICollection |
An object supporting the ICollection |
#Returns
Type | Description |
---|---|
Int32 | An integer value representing the zero-based index of the specified item within the collection. |
#Remarks
If the specified item is not in the collection, the IndexOf method returns -1.
See Also