VistaDB 6
VistaDB.VistaDBTypes Namespace / VistaDBDateTime Class / GetValueOrDefault Method / GetValueOrDefault(DateTime) Method


In This Topic
    GetValueOrDefault(DateTime) Method
    In This Topic
    Overloaded. Returns the Value of the object, or a the passed in defaultValue.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetValueOrDefault( _
       ByVal defaultValue As System.Date _
    ) As System.Date
    'Usage
     
    
    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
    )

    Parameters

    defaultValue

    Return Value

    Current Value or passed in defaultValue.
    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