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


In This Topic
    GetValueOrDefault(VistaDBSingle) 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 VistaDBSingle _
    ) As System.Single
    'Usage
     
    
    Dim instance As VistaDBSingle
    Dim defaultValue As VistaDBSingle
    Dim value As System.Single
     
    value = instance.GetValueOrDefault(defaultValue)
    public System.float GetValueOrDefault( 
       VistaDBSingle defaultValue
    )

    Parameters

    defaultValue

    Return Value

    float
    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