VB.net中如何判断某个引用是否关联到某个对象中?
系统在;运行的时候老是会报错,说没有关联到对象,如何对这个引用是否为空进行判断?谢谢。
例如
dim i as someClass
。。。
if i = nothing then
或
if i=null then。。。
当i为空时这些表达都不行
例如
dim i as someClass
。。。
if i = nothing then
或
if i=null then。。。
当i为空时这些表达都不行
...全文
请发表友善的回复…
发表回复