VistaDB 5






VistaDB.VistaDBTypes Namespace > VistaDBInt16 Class > GetValueOrDefault Method : GetValueOrDefault(VistaDBInt16) Method
GetValueOrDefault(VistaDBInt16) Method
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
)
public function GetValueOrDefault( 
    defaultValue: VistaDBInt16
): System.Int16; 
public function GetValueOrDefault( 
   defaultValue : VistaDBInt16
) : System.short;
public: System.short GetValueOrDefault( 
   VistaDBInt16* 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