Back to API Home

Null-coalescing.

Namespace: Dundas.Dashboard.Business.Utility
Assembly: Dundas.Dashboard.Client (in Dundas.Dashboard.Client.dll) Version: 5.0.0.0 (5.5.0.1000)

Syntax

C#
public static double IsNull(
	Nullable<double> originalValue,
	double valueIfNull
)
Visual Basic
Public Shared Function IsNull ( 
	originalValue As Nullable(Of Double),
	valueIfNull As Double
) As Double

Parameters

originalValue
Type: System..::..Nullable<(Of <(<'Double>)>)>
The original value.
valueIfNull
Type: System..::..Double
The value to return if the original value is nullNothingnullptra null reference (Nothing in Visual Basic).

Return Value

Type: Double
Returns the original value, or , if the original value is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also