VistaDB 6
VistaDB.VistaDBTypes Namespace / VistaDBTime Class / GetValueOrDefault Method / GetValueOrDefault() Method


In This Topic
    GetValueOrDefault() Method
    In This Topic
    Overloaded. Returns the Value of the object, or a TimeSpan of 0 representing midnight.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetValueOrDefault() As System.TimeSpan
    'Usage
     
    
    Dim instance As VistaDBTime
    Dim value As System.TimeSpan
     
    value = instance.GetValueOrDefault()
    public System.TimeSpan GetValueOrDefault()

    Return Value

    Current Value or DateTime.MinValue
    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