NewsItemCollection.FindByText(String) Method
Returns an item by its text.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| text | String | A string value that specifies the text of the requested item. |
Returns
| Type | Description |
|---|---|
| NewsItem | A NewsItem object with the specified contents. null (Nothing in Visual Basic) if the item isn’t found. |
Remarks
The FindByText method returns the first item found whose NewsItem.Text property’s value matches the specified string.
See Also