[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.Utils
Assembly:  OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0

Syntax

C#
public static bool ReplaceDBNull(
	Object obj,
	bool retVal
)
Visual Basic (Declaration)
Public Shared Function ReplaceDBNull ( _
	obj As Object, _
	retVal As Boolean _
) As Boolean
Visual C++
public:
static bool ReplaceDBNull(
	Object^ obj, 
	bool retVal
)

Parameters

obj
Type: System..::.Object
The object to be tested
retVal
Type: System..::.Boolean
The return value in case the first parameter is null

Return Value

See Also