VistaDB 5

GetValueOrDefault(String) Method
Overloaded. Returns the Value of the object, or the passed in defaultValue.
Public Overloads Shadows Function GetValueOrDefault( _
   ByVal defaultValue As System.String _
) As System.String
Dim instance As VistaDBText
Dim defaultValue As System.String
Dim value As System.String
value = instance.GetValueOrDefault(defaultValue)
public new System.string GetValueOrDefault( 
   System.string defaultValue
public function GetValueOrDefault( 
    defaultValue: System.String
): System.String; 
public hide function GetValueOrDefault( 
   defaultValue : System.String
) : System.String;
public: new System.string* GetValueOrDefault( 
   System.string* defaultValue
new 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