VistaDB 5

The name of the parameter.
The value to be added.
AddWithValue Method
Adds a VistaDBParameter to the VistaDBParameterCollection with the parameter name and value.
Public Function AddWithValue( _
   ByVal parameterName As System.String, _
   ByVal value As System.Object _
) As VistaDBParameter
Dim instance As VistaDBParameterCollection
Dim parameterName As System.String
Dim value As System.Object
Dim value As VistaDBParameter
value = instance.AddWithValue(parameterName, value)
public VistaDBParameter AddWithValue( 
   System.string parameterName,
   System.object value
public function AddWithValue( 
    parameterName: System.String;
    value: System.TObject
): VistaDBParameter; 
public function AddWithValue( 
   parameterName : System.String,
   value : System.Object
) : VistaDBParameter;
public: VistaDBParameter* AddWithValue( 
   System.string* parameterName,
   System.Object* value
VistaDBParameter^ AddWithValue( 
   System.String^ parameterName,
   System.Object^ value


The name of the parameter.
The value to be added.

Return Value

The new VistaDBParameter object.

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