Returns an enumerator that iterates through the data fields in the record

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

Syntax

C#
public IEnumerator GetEnumerator()
Visual Basic (Declaration)
Public Function GetEnumerator As IEnumerator

Return Value

An object that implements the IEnumerator interface and iterates through the data fields in the record

Implements

IEnumerable..::.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