How do I implement an Delphi coded "ICollection" from a C# .NET collection defined within a 3rd Party Open API Tool.
I have a Laserfiche API toolkit where I am calling the code to return a collection of search hits.
--- This is the process to call it from VB# --- search.BeginSearch(True) set results = search.GetSearchHits() ' retrieves the search results For i = 1 To results.Count ' loops through the search results set hit = results.Item(i) set doc = hit.Entry Next
I imported the Object into Delphi but can not seem to get "search.GetSearchHits()" to return the current collection set.