VB.NET Language in a Nutshell

   
IsNothing Function

Class

Microsoft.VisualBasic.Information

Syntax

IsNothing( expression )

expression (required; 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.

   

Категории