NewsItemCollection.IndexOfText(String) Method
Returns the specified item’s position within the collection. The item is identified by its contents.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
Name | Type | Description |
---|---|---|
text | String | A string value that represents the 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 contents. |
See Also