NewsItemCollection.IndexOfHeaderText(String) Method
In This Article
Returns the specified item’s position within the collection. The item is identified by its header text.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
header |
String | A string value that specifies the header text of the requested item. |
#Returns
Type | Description |
---|---|
Int32 | An integer value that specifies the item’s position within the collection. -1 if the collection doesn’t contain the item with the specified header text. |
See Also