Internet Direct (Indy) Version 9.0.2 Beta
TQueryResult
Implements a container for values returned in a response to a DNS query.

TQueryResult = class(TCollection)
Description
TQueryResult is a TCollection descendant that implements a container for values returned in a response to a DNS query. TQueryResult is the type used to represent the TIdDNSResolver.QueryResult property.

TQueryResult provides property that identify field values returned in the DNS response message packet, including QueryClass, QueryType, and DomainName. TQueryResult also implements the Items property to provide indexed access to resource records returned in the Answer, Authority, or Additional sections of the DNS response.

TQueryResult provides method maintain the TResultRecord collection of resource records for the DNS response, including Add and Clear.