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 | |
---|---|---|
Field | The field at the specified index in the fields collection. | |
FieldCount | The number of fields in the fields collection. | |
FindField | Finds the index of the named field in the fields collection. | |
FindFieldByAliasName | Finds the index of the field with the alias name in the fields collection. |
Classes that implement IFields
Classes | Description |
---|---|
Fields | ESRI 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.
相关文章推荐
- 一个校验集合中的对象的某些字段值的唯一性的工具类
- 定义一个List集合并实例化对应的实现类对象。循环输入任意个整数,输入0结束输入循环,对集合中的数据进行从大到小的排序后输出
- 将一个对象集合按照对象的某个字段排序
- (转)逐步为对象集合构建一个通用的按指定属性排序的方法
- .分析以下需求,并用代码实现 1.定义List集合,存入多个字符串 2.删除集合元素字符串中包含0-9数字的字符串 只要字符串中包含0-9中的任意一个数字就需
- EAS如何给一个对象字段赋值(dep加的字段)
- VC++6.0中定义一个类的对象后,用“.”访问其成员函数和成员变量时,其成员函数和成员变量没有自动弹出
- 定义一个类让其只能实例化一个对象
- 优雅的将一个对象的集合转化成另一个对象的集合
- 利用 Map 集合的 containsKey 方法,实现对象数组的去重以及重复对象的字段值累加
- List集合的remove一个对象的方法
- 返回一个集合对象,同时这个集合的对象的属性又是一个集合对象的处理方法(ViewModel)
- Lamda表达式,map快速获取对象的某一个属性生成集合
- List集合中的对象按照某个字段去重实现
- 定义一个日期类Date,该类对象存放一个日期
- 定义一个哺乳动物Mammal类,再由此派生出狗Dog类,二者都定义 Speak()成员函数,基类中定义为虚函数,定义一个Dog类的对象,调用Speak函数,观察运行结果
- PHP 为你提供一个叫__toString() 的函数,你可以用它来返回表示对象的字符串信息,而且一旦定义它,打印命令将调用它并打印出返回的字符串。
- C++ 计算一个线段长度,两个端点的坐标值分别为(100,200)(200,300)。要求:定义一个CLine类,属性是CPoint对象。(初始化参数列表)
- 如何定义一个只能在堆上(栈上)生成对象的类?
- 集合(2)把一个list集合中特定字段插入到另一个集合的特定字段中