Count: Integer;
The Count property returns the quantity of data source fields.
To get a specific data source field, use the IDatasetModelFields.Item property.
The property use is given in the example for IDatasetModelField.IsSparse.
See also:
IDatasetModelFields