VistaDB 5






GetValueOrDefault(Int16) Method
Overloaded. Returns the Value of the object, or a newly created VistaDBInt16(defaultValue).
Syntax
'Declaration
 
Public Overloads Function GetValueOrDefault( _
   ByVal defaultValue As System.Short _
) As System.Short
'Usage
 
Dim instance As VistaDBInt16
Dim defaultValue As System.Short
Dim value As System.Short
 
value = instance.GetValueOrDefault(defaultValue)
public System.short GetValueOrDefault( 
   System.short defaultValue
)
public function GetValueOrDefault( 
    defaultValue: System.Int16
): System.Int16; 
public function GetValueOrDefault( 
   defaultValue : System.short
) : System.short;
public: System.short GetValueOrDefault( 
   System.short defaultValue
) 
public:
System.short GetValueOrDefault( 
   System.short 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