[This is preliminary documentation and is subject to change.]
Replaces null with the value provided, ifthe objcet is null, then
return the integer i, otherwise return the integer value of the object.
Namespace:
OfficeClip.UtilsAssembly: OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0
Syntax
C# |
---|
public static int ReplaceDBNull( Object o, int i ) |
Visual Basic (Declaration) |
---|
Public Shared Function ReplaceDBNull ( _ o As Object, _ i As Integer _ ) As Integer |
Visual C++ |
---|
public: static int ReplaceDBNull( Object^ o, int i ) |
Parameters
- o
- Type: System..::.Object
The object to be tested
- i
- Type: System..::.Int32
The return value in case the first parameter is null