此頁(yè)沒(méi)有內(nèi)容條目
內(nèi)容

Columns 集合

       

包含表、索引或關(guān)鍵字的所有 Column 對(duì)象。

objtable

parlowerobjindex

parlowerparlowerobjkey

parchildparshareparsharecolcolumparacrosobjcolum

說(shuō)明

?Columns 集合的 Append 方法對(duì)于 ADOX 是唯一的??梢裕?/span>
?使用 Append 方法將新列添加到集合中。

其余的屬性和方法對(duì)于 ADO 集合是標(biāo)準(zhǔn)的??梢裕?/span>

?使用 Item 方法訪問(wèn)集合中的列。

 

?使用 Count 屬性返回包含在集合中的列的數(shù)目。

 

?使用 Delete 方法從集合中刪除列。

 

?使用 Refresh 方法更新集合中的對(duì)象,以反映當(dāng)前數(shù)據(jù)庫(kù)的模式。

注意   如果 Column 尚未存在于已追加到 Tables 集合的 Table 中,則在將 Column 追加到 IndexColumns 集合時(shí)會(huì)出現(xiàn)錯(cuò)誤。