Internet Direct (Indy) Version 9.0.2 Beta
TQueryResult.Items
Provides indexed access to resource records in the DNS query response.

property Items [Index: Integer]: TResultRecord;
Description
Items is an indexed TResultRecord property that provides access to the collection of resource records created when the resolver parses the DNS query response.

Items insures that read access to the collection always returns a TResultRecord instance. Applications can examine TResultRecord.RecType for the returned item to determine if another TResultRecord descendant can be used to access additional properties and methods for the resource record.