VistaDB 5






VistaDB.VistaDBTypes Namespace > VistaDBDouble Class > GetValueOrDefault Method : GetValueOrDefault(VistaDBDouble) Method
GetValueOrDefault(VistaDBDouble) Method
Overloaded. Returns the Value of the object, or the passed in defaultValue.Value.
Syntax
'Declaration
 
Public Overloads Function GetValueOrDefault( _
   ByVal defaultValue As VistaDBDouble _
) As System.Double
'Usage
 
Dim instance As VistaDBDouble
Dim defaultValue As VistaDBDouble
Dim value As System.Double
 
value = instance.GetValueOrDefault(defaultValue)
public System.double GetValueOrDefault( 
   VistaDBDouble defaultValue
)
public function GetValueOrDefault( 
    defaultValue: VistaDBDouble
): System.Double; 
public function GetValueOrDefault( 
   defaultValue : VistaDBDouble
) : System.double;
public: System.double GetValueOrDefault( 
   VistaDBDouble* defaultValue
) 
public:
System.double GetValueOrDefault( 
   VistaDBDouble^ defaultValue
) 

Parameters

defaultValue

Return Value

double
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