VistaDB 5






GetValueOrDefault(Decimal) Method
Overloaded. Returns the Value of the object, or the passsed defaultValue.
Syntax
'Declaration
 
Public Overloads Function GetValueOrDefault( _
   ByVal defaultValue As System.Decimal _
) As System.Decimal
'Usage
 
Dim instance As VistaDBDecimal
Dim defaultValue As System.Decimal
Dim value As System.Decimal
 
value = instance.GetValueOrDefault(defaultValue)
public System.decimal GetValueOrDefault( 
   System.decimal defaultValue
)
public function GetValueOrDefault( 
    defaultValue: System.Currency
): System.Currency; 
public function GetValueOrDefault( 
   defaultValue : System.decimal
) : System.decimal;
public: System.decimal GetValueOrDefault( 
   System.decimal defaultValue
) 
public:
System.decimal GetValueOrDefault( 
   System.decimal defaultValue
) 

Parameters

defaultValue

Return Value

decimal
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also