VistaDB 5

GetValueOrDefault(DateTime) Method
Overloaded. Returns the Value of the object, or a the passed in defaultValue.
Public Overloads Function GetValueOrDefault( _
   ByVal defaultValue As System.Date _
) As System.Date
Dim instance As VistaDBDateTime
Dim defaultValue As System.Date
Dim value As System.Date
value = instance.GetValueOrDefault(defaultValue)
public System.DateTime GetValueOrDefault( 
   System.DateTime defaultValue
public function GetValueOrDefault( 
    defaultValue: System.DateTime
): System.DateTime; 
public function GetValueOrDefault( 
   defaultValue : System.DateTime
) : System.DateTime;
public: System.DateTime GetValueOrDefault( 
   System.DateTime defaultValue
System.DateTime GetValueOrDefault( 
   System.DateTime defaultValue



Return Value

Current Value or passed in defaultValue.

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