VistaDB 5






GetValueOrDefault(VistaDBText) Method
Overloaded. Returns the Value of the object, or the value of the passed in defaultValue.
Syntax
'Declaration
 
Public Overloads Function GetValueOrDefault( _
   ByVal defaultValue As VistaDBText _
) As System.String
'Usage
 
Dim instance As VistaDBText
Dim defaultValue As VistaDBText
Dim value As System.String
 
value = instance.GetValueOrDefault(defaultValue)
public System.string GetValueOrDefault( 
   VistaDBText defaultValue
)
public function GetValueOrDefault( 
    defaultValue: VistaDBText
): System.String; 
public function GetValueOrDefault( 
   defaultValue : VistaDBText
) : System.String;
public: System.string* GetValueOrDefault( 
   VistaDBText* defaultValue
) 
public:
System.String^ GetValueOrDefault( 
   VistaDBText^ defaultValue
) 

Parameters

defaultValue

Return Value

string
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