VistaDB 5






VistaDB.VistaDBTypes Namespace > VistaDBDateTimeOffset Class > GetValueOrDefault Method : GetValueOrDefault(VistaDBDateTimeOffset) Method
GetValueOrDefault(VistaDBDateTimeOffset) Method
Overloaded. Returns the Value of the object, or the value of the passed in defaultValue.
Syntax
'Declaration
 
Public Overloads Function GetValueOrDefault( _
   ByVal defaultValue As VistaDBDateTimeOffset _
) As System.DateTimeOffset
'Usage
 
Dim instance As VistaDBDateTimeOffset
Dim defaultValue As VistaDBDateTimeOffset
Dim value As System.DateTimeOffset
 
value = instance.GetValueOrDefault(defaultValue)
public System.DateTimeOffset GetValueOrDefault( 
   VistaDBDateTimeOffset defaultValue
)
public function GetValueOrDefault( 
    defaultValue: VistaDBDateTimeOffset
): System.DateTimeOffset; 
public function GetValueOrDefault( 
   defaultValue : VistaDBDateTimeOffset
) : System.DateTimeOffset;
public: System.DateTimeOffset GetValueOrDefault( 
   VistaDBDateTimeOffset* defaultValue
) 
public:
System.DateTimeOffset GetValueOrDefault( 
   VistaDBDateTimeOffset^ defaultValue
) 

Parameters

defaultValue

Return Value

VistaDBString
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