Export (0) Print
Expand All

Assert.IsNotNull Method

Verifies that a specified object is not null.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member IsNotNull(Object) Verifies that the specified object is not null. The assertion fails if it is null.
Public method Static member IsNotNull(Object, String) Verifies that the specified object is not null. The assertion fails if it is null. Displays a message if the assertion fails.
Public method Static member IsNotNull(Object, String, Object[]) Verifies that the specified object is not null. The assertion fails if it is null. Displays a message if the assertion fails, and applies the specified formatting to it.
Top
Show:
© 2014 Microsoft