VistaDB 5






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

Parameters

defaultValue

Return Value

Int64
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