使用
指定名稱給欄位標題。dtw_table_SetN() 公用程式函數的呼叫者會保留 src 參數所指之記憶體的所有權。 欲刪除欄位標題,請將欄位標題值指定為 NULL。
格式
int dtw_table_SetN(void *table, char *src, int col)
參數
table | 指向已指定欄位標題之表格的指標。 |
src | 指定給新直欄位標題的字串。 |
col | 直欄個數。 |
範例
void *myTable; char *myColumnHeading = "newColumnHeading"; rc = dtw_table_SetN(myTable, myColumnHeading, 5);