VistaDB 6
VistaDB.VistaDBTypes Namespace / VistaDBBoolean Class / GetValueOrDefault Method / GetValueOrDefault(Boolean) Method


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

    Parameters

    defaultValue

    Return Value

    bool
    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