(Xojo Plugin) Transition from Email.GetLinkedDomains to Email.LinkedDomains
Provides instructions for replacing deprecated GetLinkedDomains method calls with LinkedDomains. Note: This example requires Chilkat v11.0.0 or greater.
Dim email As New Chilkat.Email
// ...
// ...
// ------------------------------------------------------------------------
// The GetLinkedDomains method is deprecated:
Dim sa As Chilkat.StringArray
sa = email.GetLinkedDomains()
If (email.LastMethodSuccess = False) Then
System.DebugLog(email.LastErrorText)
Return
End If
// ...
// ...
// ------------------------------------------------------------------------
// Do the equivalent using LinkedDomains.
// Your application creates a new, empty StringTable object which is passed
// in the last argument and filled upon success.
Dim st As New Chilkat.StringTable
Dim success As Boolean
success = email.LinkedDomains(st)
If (success = False) Then
System.DebugLog(email.LastErrorText)
Return
End If
|