Knowledgebase:
AddNews
Posted by Mohammad Rahhal, Last modified by Yousef Ibrahim on 02 August 2016 02:28 PM

Syntax

 Public Sub AddNews (ByRef _new As vertexFxNewsSvrAPI.CNew)

This sub procedure used to add news to Cnews collection.

Parameters

Key Description 
_new New object which should be 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


VertexFX News API Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions