# .ResultFields

Inherits .SubCollection in gb

This collection includes all the fields of a result.

This class is virtual. You cannot use it as a datatype.

This class is not creatable.

This class acts like a read-only array.

`DIM hSubCollection AS .SubCollection DIM anObject AS Object anObject = hSubCollection [ Key AS String ]`

Returns a sub-object from its key.

This class is enumerable with the FOR EACH keyword.

`DIM hResultFields AS .ResultFields DIM hResultField AS ResultField FOR EACH hResultField IN hResultFields ... NEXT`

Enumerates each field included in the result.

Properties |  | Methods |
--- | --- | --- | ---
Count Length |  | Exist |