Syntax
Public Sub AddNews (ByRef _new As vertexFxNewsSvrAPI.CNew)
Description
This sub procedure used to add news to Cnews collection.
Parameters
Key | Description |
_new | New object whichshouldbe added. Value of type CNew |
Sample
Public WithEvents server As new CVertexFXNewsSvr Private Sub server_onGettingNews(ByRef NewsNumber As String, ByRef news As VertexFXNewsSvrAPI.CNews) Handles server.onGettingNews Dim _new As New CNew _new.NewsDate = Now.ToString _new.NewsID = "1" _new.NewsSubject = "VertexFX" _new.NewsDetails = "VertexFX news API" news.AddNews (_new) End Sub
See Also