This document is archived and information here might be outdated. Recommended version. |
Esri Fields object.
Interfaces | Description |
---|---|
IClone (esriSystem) | Provides access to members that control cloning of objects. |
IFields | Provides access to members that return information about the fields. |
IFields2 | Provides access to members that return information about the fields. |
IFieldsEdit | Provides access to members that modify a fields collection. |
IPersist (esriSystem) | |
IPersistStream (esriSystem) | |
IXMLSerialize (esriSystem) | Provides access to members that XML serialize and deserialize an object to/from XML. |
Each table in a database has an ordered collection of fields, there is always at least one field in a table. The ordered collection behaves like a list, so it is possible to access individual fields by a numbered position (or index) in the list.
A Fields collection can also exist independently of a table, for example when creating an index on a table you will need to define which fields take part in the index. There are many interfaces which either require or return a Fields collection; these include IClass (therefore also IObjectClass and IFeatureClass), ICursor, IIndex, IFeatureClassDraw, IRowBuffer, ISimpleDataConverter, ITableSort and IValidate.