VistaDB 5

GetValueOrDefault() Method
Overloaded. Returns the Value of the object, or a TimeSpan of 0 representing midnight.
Public Overloads Function GetValueOrDefault() As System.TimeSpan
Dim instance As VistaDBTime
Dim value As System.TimeSpan
value = instance.GetValueOrDefault()
public System.TimeSpan GetValueOrDefault()
public function GetValueOrDefault(): System.TimeSpan; 
public function GetValueOrDefault() : System.TimeSpan;
public: System.TimeSpan GetValueOrDefault(); 
System.TimeSpan GetValueOrDefault(); 

Return Value

Current Value or DateTime.MinValue

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