【发布时间】:2013-11-23 01:39:39
【问题描述】:
我是 vb.net 的新手并在 vb.net 中进行工作流程,我需要检查字典是否为空。我已经声明了一个字典,但没有给它赋值。
当我使用IsNothing() 方法时,它会给出对象引用异常。怎么查?
Dim CustDicAs New Dictionary(Of String, Integer)
CustDic.IsNothing()
【问题讨论】:
-
显示出错的代码
标签: vb.net dictionary