VistaDB 5






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

Parameters

defaultValue

Return Value

VistaDBString
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