VistaDB 5






VistaDB.VistaDBTypes Namespace > VistaDBBoolean Class > GetValueOrDefault Method : GetValueOrDefault(VistaDBBoolean) Method
GetValueOrDefault(VistaDBBoolean) Method
Overloaded. Returns the Value of the object, or the passed in defaultValue.Value.
Syntax
'Declaration
 
Public Overloads Function GetValueOrDefault( _
   ByVal defaultValue As VistaDBBoolean _
) As System.Boolean
'Usage
 
Dim instance As VistaDBBoolean
Dim defaultValue As VistaDBBoolean
Dim value As System.Boolean
 
value = instance.GetValueOrDefault(defaultValue)
public System.bool GetValueOrDefault( 
   VistaDBBoolean defaultValue
)
public function GetValueOrDefault( 
    defaultValue: VistaDBBoolean
): System.Boolean; 
public function GetValueOrDefault( 
   defaultValue : VistaDBBoolean
) : System.boolean;
public: System.bool GetValueOrDefault( 
   VistaDBBoolean* defaultValue
) 
public:
System.bool GetValueOrDefault( 
   VistaDBBoolean^ defaultValue
) 

Parameters

defaultValue

Return Value

bool
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