欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片


Add 方法(Dictionary)

Dictionary 對(duì)象添加鍵和項(xiàng)目對(duì)。

object.Add key, item

參數(shù)

object

必選項(xiàng)。應(yīng)為 Dictionary 對(duì)象的名稱(chēng)。

key

必選項(xiàng)。與添加的 item 相關(guān)的 key

item

必選項(xiàng)。與添加的 key 相關(guān)的 item。

說(shuō)明

如果 key 已經(jīng)存在,則會(huì)出現(xiàn)錯(cuò)誤。

下面例子舉例說(shuō)明如何使用 Add 方法:

Dim d                   '創(chuàng)建變量。
Set d = CreateObject("Scripting.Dictionary")
d.Add "a", "Athens"     '添加一些鍵和項(xiàng)目。
d.Add "b", "Belgrade"
d.Add "c", "Cairo"

請(qǐng)參閱

AddFolders 方法 | Exists 方法 | Items 方法 | Keys 方法 | Remove 方法 | RemoveAll 方法

應(yīng)用于:Dictionary Object