您的位置:首页 > 其它

IFields Interface 定义一个字段集合对象

2013-08-07 11:30 190 查看

Description

The Fields object represents a collection of columns in a table. The term field is synonymous with column. 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.

Members

All
Properties
Methods
Description

FieldThe field at the specified index in the fields collection.

FieldCountThe number of fields in the fields collection.

FindFieldFinds the index of the named field in the fields collection.

FindFieldByAliasNameFinds the index of the field with the alias name in the fields collection.

Classes that implement IFields

ClassesDescription
FieldsESRI Fields object.

Remarks

The IFields interface provides information about a Fields collection and also provides access to individual fields. When using IFields::FindField, remember that there are equivalent methods on IClass and ICursor—they are shortcuts which save you having to get the Fields collection.

When programming with ArcMap, there is a distinction between IFields and two other interfaces, ILayerFields and ITableFields. ILayerFields is particular to an ArcMap layer, so for example, an alias name belongs to the field as defined in that layer rather than being stored with the underlying table.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐