Assert.IsNotNull 方法

包括受保护的成员
包括继承的成员

更新:2007 年 11 月

验证指定的对象是否不为 nullnull 引用(在 Visual Basic 中为 Nothing)。

重载列表

 

页首

另请参见

参考

Assert 类

Assert 成员

Microsoft.VisualStudio.TestTools.UnitTesting 命名空间