This documentation is archived and is not being maintained.

Convert.IsDBNull Method

Returns an indication whether the specified object is of type DBNull.

[Visual Basic]
Public Shared Function IsDBNull( _
   ByVal value As Object _
) As Boolean
public static bool IsDBNull(
 object value
public: static bool IsDBNull(
 Object* value
public static function IsDBNull(
   value : Object
) : Boolean;


An object.

Return Value

true if value is of type TypeCode.DBNull; otherwise, false.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

Convert Class | Convert Members | System Namespace