功能說明
方法
| 定義 | 說明 |
|---|---|
Has (name: string): bool | 檢查指令碼屬性陣列中是否包含指定的屬性。 |
Set (name: string, value: string) | 設定屬性的名稱和值。 |
Delete (name: string) | 刪除指定的屬性。 |
DeleteAll ( ) | 刪除所有屬性。 |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Names | VARIANT | 唯讀 | 使用者指定的屬性名稱陣列。 |
IsEmpty | bool | 唯讀 | 指出腳本屬性陣列是否為空。 |
Value (name: string) | bool | 讀寫 | 屬性值。在腳本中,您在存取屬性的「Name」Parameter 時,可以選擇加上或省略「Value」一詞。您也可以以括號取代「Value」。因此,您可以撰寫 params( “Name” ) = “newValue”,而不是 params.Value( “Name” ) = “newValue”。 |
