Can a dictionary object have multiple Items under same key?

后端 未结 4 566
不思量自难忘°
不思量自难忘° 2021-01-19 01:49

I a looking for an workaround related to dictionary objects items

Dim a, d \'Create some variables

 Set d = CreateObject(\"Scripting.Dictionary\")

 d.Add \         


        
4条回答
  •  臣服心动
    2021-01-19 02:01

    No. By definition, dictionary data types use keys that must be unique. I know it's like this on most implementations, but the closest I can come to for an authoritative reference for VBscript's Scripting.Dictionary is this TechNet blurb:

    A key is a unique entry: no two keys within a single Dictionary object can be the same.

提交回复
热议问题