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


In This Topic
    GetValueOrDefault(VistaDBDecimal) Method
    In This Topic
    Overloaded. Returns the Value of the object, or the passed in defaultValue.Value.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetValueOrDefault( _
       ByVal defaultValue As VistaDBDecimal _
    ) As System.Decimal
    'Usage
     
    
    Dim instance As VistaDBDecimal
    Dim defaultValue As VistaDBDecimal
    Dim value As System.Decimal
     
    value = instance.GetValueOrDefault(defaultValue)
    public System.decimal GetValueOrDefault( 
       VistaDBDecimal defaultValue
    )

    Parameters

    defaultValue

    Return Value

    decimal
    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