Dictionary 对象
时间:2007-12-27 来源:不详 作者:林子
存储数据键和项目对的对象。
本文来自织梦
y = new ActiveXObject("Scripting.Dictionary")
本文来自织梦
说明
Dictionary 对象等价于 PERL 联合数组。项目可以是数据的任何形式,并存储在数组中。每个项目都与一个具有唯一性的键相联。该键用于取得单个项目,并且通常是整数或字符串,但也可以是除数组以外的任何类型。
本文来自织梦
下面代码演示了如何创建 Dictionary 对象:
本文来自织梦
var y = new ActiveXObject("Scripting.Dictionary"); y.add ("a", "test"); if (y.Exists("a"))
document.write("true");
...
本文来自织梦
方法
Add 方法 (Dictionary) | Exists 方法 | Items 方法 | Keys 方法 | Remove 方法 | RemoveAll 方法
内容来自dedecms
属性
Count 属性 | Item 属性 | Key 属性 内容来自dedecms
请参阅
FileSystemObject 对象 | TextStream 对象 本文来自织梦

上一篇:Drive 对象 下一篇:WriteLine 方法
文章评论
共有位Admini5网友发表了评论 查看完整内容