NewsItemCollection.Add(String, String, String, String) Method
In This Article
Creates a new item with the specified settings and adds it to the collection.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
header |
String | A string value that specifies the text dispalyed within the item’s header. This value is assigned to the News |
text | String | A string value that specifies the item’s contents. This value is assigned to the News |
navigate |
String | A string value that specifies the item’s URL. This value is assigned to the News |
name | String | A string value that specifies the item’s unique identifier name. This value is assigned to the News |
#Returns
Type | Description |
---|---|
News |
A News |
See Also