VistaDB 5

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



Return Value

string with the current value, or passed in defaultValue

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