IXlsTableColumns
COM interface ( getting help with interfaces )

 

interface IXlsTableColumns : IDispatch
{
  [id(1),propget] HRESULT Count([out, retval]int* nbcolumns);
  [id(2),propget] HRESULT Item([in]int i, [out, retval]IXlsTableColumn** column);
  [id(3),propget] HRESULT ItemByName([in]BSTR name, [out, retval]IXlsTableColumn** column);
  [id(4)        ] HRESULT AddCalculated([in]BSTR formula, [out, retval]IXlsTableColumn** column);
  [id(5),propget] HRESULT ItemByID([in]BSTR id, [out, retval]IXlsTableColumn** column);

}

 

HRESULT Count([out, retval]int* nbcolumns);
returns how many columns are stored.

HRESULT Item([in]int i, [out, retval]IXlsTableColumn** column);
returns the i-th column.

HRESULT ItemByName([in]BSTR name, [out, retval]IXlsTableColumn** column);
returns the column by name.

HRESULT AddCalculated([in]BSTR formula, [out, retval]IXlsTableColumn** column);
creates a calculated column using the passed formula.

HRESULT ItemByID([in]BSTR id, [out, retval]IXlsTableColumn** column);
returns the column by id.