Skip to main content
A newer version of this page is available. .
Tab

NewsItemCollection.FindByHeaderText(String) Method

Returns an item by its header text.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public NewsItem FindByHeaderText(
    string headerText
)

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