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