接口 ITableColumns


public interface ITableColumns
Represents a collection of all the ITableColumn objects in thespecified ITable object. Each ITableColumn object represents a columnin the table.
  • 方法概要

    修饰符和类型
    方法
    说明
    add()
    Adds a new column to the table object.
    add(int position)
    Adds a new column to the table object.
    void
    add(int position, int count)
    Adds new column(s) to the table object.
    void
    delete(int position, int count)
    Deletes the column(s) of data in the table.
    get(int index)
    Gets the ITableColumn at the specified index.
    get(String name)
    Gets the ITableColumn at the specified column name.
    int
    Returns the number of objects in the collection.
  • 方法详细资料

    • getCount

      int getCount()
      Returns the number of objects in the collection.
    • get

      ITableColumn get(int index)
      Gets the ITableColumn at the specified index.
      参数:
      index - The index.
    • get

      ITableColumn get(String name)
      Gets the ITableColumn at the specified column name.
      参数:
      name - The column name.
    • add

      Adds a new column to the table object. Returns the ITableColumnobject.
    • add

      ITableColumn add(int position)
      Adds a new column to the table object. Returns the ITableColumnobject.
      参数:
      position - Specifies the relative position ofthe new column that starts at 0. The previous column at this position is shifted outward.
    • add

      void add(int position, int count)
      Adds new column(s) to the table object.
      参数:
      position - 0 based Integer. Specifies the relative position of the new column(s). The previous column at this position is shifted outward.
      count - Specifies the count of the new column(s).
    • delete

      void delete(int position, int count)
      Deletes the column(s) of data in the table.
      参数:
      position - 0 based Integer. Specifies the relative position of the deleted column(s).
      count - Specifies the count of the deleted column(s).