Sample code for 30+ languages & platforms
VB.NET

Transition from MailMan.LastJsonData to MailMan.GetLastJsonData

Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData.

Chilkat VB.NET Downloads

VB.NET
Dim mailman As New Chilkat.MailMan

' ...
' ...


' ------------------------------------------------------------------------
' The LastJsonData method is deprecated:

Dim jsonObj As Chilkat.JsonObject = mailman.LastJsonData()
If (mailman.LastMethodSuccess = False) Then
    Debug.WriteLine(mailman.LastErrorText)
    Exit Sub
End If


' ...
' ...



' ------------------------------------------------------------------------
' Do the equivalent using GetLastJsonData.
' Your application creates a new, empty JsonObject object which is passed 
' in the last argument.

Dim jsonOut As New Chilkat.JsonObject
mailman.GetLastJsonData(jsonOut)