Returns an enumerator that iterates through the DNS records in the zone

Namespace:  JHSoftware.SimpleDNSPlus
Assembly:  SDNSAPI (in SDNSAPI)
Version: 1.1.0.0 (1.1.0.0)

Syntax

C#
public IEnumerator<DNSRecord> GetEnumeratorOfDNSRecord()
Visual Basic (Declaration)
Public Function GetEnumeratorOfDNSRecord As IEnumerator(Of DNSRecord)

Return Value

An object that implements the IEnumerator interface and iterates through the DNS records in the zone

Implements

IEnumerable<(Of <(T>)>)..::.GetEnumerator()()()

Remarks

The foreach statement of the C# language (for each in Visual C++, For Each in Visual Basic) hides the complexity of the enumerators. Therefore, using foreach is recommended, instead of directly manipulating the enumerator.

See Also