Sample code for 30+ languages & platforms
Xojo Plugin

Transition from Email.GetLinkedDomains to Email.LinkedDomains

Provides instructions for replacing deprecated GetLinkedDomains method calls with LinkedDomains.

Chilkat Xojo Plugin Downloads

Xojo Plugin
Dim success As Boolean
success = False

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
success = email.LinkedDomains(st)
If (success = False) Then
    System.DebugLog(email.LastErrorText)
    Return
End If