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


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

    Parameters

    defaultValue

    Return Value

    Int16
    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