Click or drag to resize

IFieldListGetEnumerator Method

Retrieves the enumerator for the Field objects contained within this FieldList.

Namespace:  MicroFocus.ZFE.Connector
Assembly:  MicroFocus.ZFE.Connector (in MicroFocus.ZFE.Connector.dll) Version: 1.5.532.0 (1.5.532.0)
Syntax
IEnumerator GetEnumerator()

Return Value

Type: IEnumerator
An enumerator
Examples
Visual Basic for Applications:
Dim field as Field
Dim fieldList as FieldList

Set fieldList = mySession.PresentationSpace.Fields
For Each field In fieldList
    MsgBox field.Text
Next field
C#:
IFieldList fieldList = mySession.PresentationSpace.Fields;
foreach (IField field : fieldList)
{
    Console.WriteLine(field.Text);
}
See Also