Namespace: System.ExtensionsAssembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)
Syntax
C# |
---|
public static bool IsNullOrDBNull(
this Object value
) |
Visual Basic |
---|
<ExtensionAttribute>
Public Shared Function IsNullOrDBNull (
value As Object
) As Boolean |
Visual C++ |
---|
public:
[ExtensionAttribute]
static bool IsNullOrDBNull(
Object^ value
) |
F# |
---|
static member IsNullOrDBNull :
value : Object -> bool
|
Return Value
Type:
BooleanTrue if null or
DBNull,
false otherwise.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also