Syntax
Public Function SendNew(News as VertexFXNewsSvrAPI.CNew) As Boolean
Description
This Function sends the news of type CNew to the connected clients. After sendNew method executes with acceptance, the NewSent event fires.
Parameters
Returns a Boolean value representing the condition of sending process.
Sample
Public WithEvents server As new CVertexFXNewsSvr Private Sub SendNew_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SendNew.Click Dim news As New CNew news.NewsDate = Now.ToString news.NewsID = "1" news.NewsSubject = VertexFX news.NewsDetails = "VertexFX news API" Server.SendNew (news) End Sub
See Also