VistaDB 5

GetValueOrDefault(DateTimeOffset) Method
Overloaded. Returns the Value of the object, or a the passed in defaultValue.
Public Overloads Function GetValueOrDefault( _
   ByVal defaultValue As System.DateTimeOffset _
) As System.DateTimeOffset
Dim instance As VistaDBDateTimeOffset
Dim defaultValue As System.DateTimeOffset
Dim value As System.DateTimeOffset
value = instance.GetValueOrDefault(defaultValue)
public System.DateTimeOffset GetValueOrDefault( 
   System.DateTimeOffset defaultValue
public function GetValueOrDefault( 
    defaultValue: System.DateTimeOffset
): System.DateTimeOffset; 
public function GetValueOrDefault( 
   defaultValue : System.DateTimeOffset
) : System.DateTimeOffset;
public: System.DateTimeOffset GetValueOrDefault( 
   System.DateTimeOffset defaultValue
System.DateTimeOffset GetValueOrDefault( 
   System.DateTimeOffset 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