VistaDB 6
VistaDB.VistaDBTypes Namespace / VistaDBText Class / GetValueOrDefault Method / GetValueOrDefault(String) Method


In This Topic
    GetValueOrDefault(String) Method
    In This Topic
    Overloaded. Returns the Value of the object, or the passed in defaultValue.
    Syntax
    'Declaration
     
    
    Public Overloads Shadows Function GetValueOrDefault( _
       ByVal defaultValue As System.String _
    ) As System.String
    'Usage
     
    
    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
    )

    Parameters

    defaultValue

    Return Value

    string with the current value, or passed in defaultValue
    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