NewsItemCollection.FindByDate(DateTime) Method
Returns an item by its date.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
Name | Type | Description |
---|---|---|
date | DateTime | A DateTime structure that represents the date of the requested node. |
Returns
Type | Description |
---|---|
NewsItem | A NewsItem object with the specified date. null (Nothing in Visual Basic) if the item isn’t found. |
Remarks
The FindByDate method returns the first item found whose NewsItem.Date property’s value matches the specified date.
See Also