FieldList

The FieldList is a collection of TOKOPEN_FIELD. It is generally used to list which fields are required in the results of a folder or document search.

 TOKOPEN_FIELDLIST

 Count as Long
     Read Only, indicates how many fields are listed. 

 Item(vntIndexKey As Variant) As TOKOPEN_FIELD
     References one of the Field type objects, in the range 1..Count

  Clear  
     Empties the Collection of all Field objects.

 Contains (anitem as Variant)  as Boolean  
     Returns TRUE if a Field is already in the collection.

  Add( field as TokOpen_Fields ) As TokOpen_Field  
     Adds a field to the collection.

  Remove( field as TokOpen_Fields )
 
     Removes a field from the collection.

See Also:-

 TOKOPEN_FIELDS

 TOKOPEN_FIELD

 TOKOPEN_VIEW

Example Code :-