vba Scripting.Dictionary 的最大大小是多少?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15342751/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is the maximum size of Scripting.Dictionary?
提问by Juliusz
I am trying to find what is the upper limit of Scripting.Dictionary? Is there one?
我试图找出 Scripting.Dictionary 的上限是多少?有吗?
It could be either limit on number of elements or size of memory. I could not trace any info on that.
它可能是对元素数量或内存大小的限制。我无法追踪任何信息。
采纳答案by John Bustos
From everything I've ever encountered (and can't seem to find any documentation to contradict this), the dictionary has no implicit upper limit and is only limited by the amount of memory you have available.
从我遇到的所有事情(并且似乎找不到任何与此矛盾的文档),字典没有隐含的上限,仅受可用内存量的限制。