Name
IsNothing Function
Class
Microsoft.VisualBasic.Information
Syntax
IsNothing(expression
)
-
expression
Use: Required
Data Type: Any
Return Value
Boolean
Description
Determines whether expression
evaluates to
Nothing
. The line:
If IsNothing(obj) Then
is equivalent to:
If obj Is Nothing Then
VB .NET/VB 6 Differences
The IsNothing
function is new to VB .NET.
Get VB .NET Language in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.