NewsItemCollection.IndexOf(NewsItem) Method
In This Article
Returns the specified item’s position within the collection.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
item | News |
A News |
#Returns
Type | Description |
---|---|
Int32 | An integer value that specifies the item’s position within the collection. -1 if the collection doesn’t contain the specified item. |
See Also