Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Assert.IsNull Method (Object)

Verifies that the specified object is null. The assertion fails if it is not null.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

public static void IsNull(
	Object value
)

Parameters

value
Type: Object

The object to verify is null.

ExceptionCondition
AssertFailedException

value is not null.

Show:
© 2015 Microsoft