Internet Direct (Indy)
Home
PreviousUpNext
TQueryResult Class

Implements a container for values returned in a response to a DNS query.

Pascal
TQueryResult = class(TIdCollection);

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 properties 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 methods that maintain the TResultRecord collection of resource records for the DNS response, including Add and Clear.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.