I would say that this is the equivalent of the IsDBNull method (Microsoft.VisualBasic.Information) located in the Microsoft.VisualBasic assembly.
Public Function IsDBNull(ByVal Expression As Object) As Boolean If Expression Is Nothing Then Return False ElseIf TypeOf Expression Is System.DBNull Then Return True Else Return False End If End Function
Dim result As Boolean = IsDBNull(Nothing)
this is the IsDBNull method (System.Convert) located in the mscorlib assembly :
public static bool IsDBNull(object value) { if (value == System.DBNull.Value) return true; IConvertible convertible = value as IConvertible; return convertible != null? convertible.GetTypeCode() == TypeCode.DBNull: false; }
bool result = System.Convert.IsDBNull(null);
source share