

| Type | Description | |||
| Definitions | A Definitions object that holds a collection of Definition objects. |
Use the Definitions property to access to the expression's definitions available on the server. Use the Execute method to access the Result object. The Result object holds the answer of the server to the client's query.
The following sample displays all definitions for "dog" expression:
Private Sub Form_Load()
Dim c As EXDICTCLIENTLibCtl.Connection
Set c = Client1.OpenConnection("dict.org")
If Not (c Is Nothing) Then
With c.CreateQuery("dog")
Dim r As EXDICTCLIENTLibCtl.IResult
For Each r In .Execute
Debug.Print " Searching the '" & r.Word & "' in '" & r.Dictionary.Name & "' dictionary gets: "
Dim d As EXDICTCLIENTLibCtl.IDefinition
For Each d In r.Definitions
Debug.Print d.Body
Next
Next
End With
c.Close
End If
Set c = Nothing
End Sub