VistaDB 5






GetValueOrDefault(Single) Method
Overloaded. Returns the Value of the object, or the passed defaultValue.
Syntax
'Declaration
 
Public Overloads Function GetValueOrDefault( _
   ByVal defaultValue As System.Single _
) As System.Single
'Usage
 
Dim instance As VistaDBSingle
Dim defaultValue As System.Single
Dim value As System.Single
 
value = instance.GetValueOrDefault(defaultValue)
public System.float GetValueOrDefault( 
   System.float defaultValue
)
public function GetValueOrDefault( 
    defaultValue: System.Single
): System.Single; 
public function GetValueOrDefault( 
   defaultValue : System.float
) : System.float;
public: System.float GetValueOrDefault( 
   System.float defaultValue
) 
public:
System.float GetValueOrDefault( 
   System.float defaultValue
) 

Parameters

defaultValue

Return Value

float
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