Determines whether the argument is null.
Namespace: DotNetNuke.CommonAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static void NotNull<T>( T item ) |
Visual Basic |
---|
Public Shared Sub NotNull(Of T) ( item As T ) |
Parameters
- item
- Type: T
The object to test.
Type Parameters
- T
- typeparamTM:DotNetNuke.Common.Requires.NotNull``1(``0)
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException |