Method
IsNull
Description
Indicates whether the value passed is null.
Usage
result = IsNull(value)
Part |
Type |
Description |
---|---|---|
result |
||
value |
Variable, property, or object whose data type is being investigated. |
Notes
A common usage of IsNull is to determine whether variable or property that is an object type contains a reference to an object or not.
While you can pass non-object data types (String for example) to IsNull, it will always return False.
Sample code
If the value passed to IsNull does not contain an object instance, then IsNull returns True. For example this code returns True:
Var b As Boolean
Var f as FolderItem
b = IsNull(f)
This code returns False:
Var b As Boolean
Var f as FolderItem = SpecialFolder.Desktop
b = IsNull(f)
Compatibility
All project types on all supported operating systems.