zoukankan      html  css  js  c++  java
  • IFields Interface 定义一个字段集合对象

    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

     Description
    Read-only property Field The field at the specified index in the fields collection.
    Read-only property FieldCount The number of fields in the fields collection.
    Method FindField Finds the index of the named field in the fields collection.
    Method FindFieldByAliasName Finds the index of the field with the alias name in the fields collection.

    Classes that implement IFields

    ClassesDescription
    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.

  • 相关阅读:
    iOS电商类App研发学习总结
    Swift4.0复习闭包
    Swift4.0复习函数
    Swift4.0复习Optional
    SQL面试题
    sql(join on 和where的执行顺序)
    算法四:回溯和分支界定
    算法三:贪婪算法
    编程之美2.11:寻找最近的点对
    编程之美2.5:寻找最大的K个数
  • 原文地址:https://www.cnblogs.com/qiushuixizhao/p/3242763.html
Copyright © 2011-2022 走看看