

| Type | Description | |||
| key as Long | A long expression that indicates the index of the result in the Results collection. | |||
| Result | A Result object being accessed. |
Use the Item property to access a Result object. Use the Execute method to get a Results collection. The Item property is the default property for the Results object so the following statements are equivalents:
Results.Item(i)
or
Results(i)
The following sample displays all dictionaries where we can found a definition for the "chart" 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("chart")
Dim r As EXDICTCLIENTLibCtl.IResult
For Each r In .Execute
Debug.Print " The '" & r.Word & "' found on '" & r.Dictionary.Name & "'."
Next
End With
c.Close
End If
Set c = Nothing
End Sub