SqliteParameterCollection.AddWithValue(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a parameter to the collection.
public virtual Microsoft.Data.Sqlite.SqliteParameter AddWithValue (string parameterName, object value);
public virtual Microsoft.Data.Sqlite.SqliteParameter AddWithValue (string? parameterName, object? value);
abstract member AddWithValue : string * obj -> Microsoft.Data.Sqlite.SqliteParameter
override this.AddWithValue : string * obj -> Microsoft.Data.Sqlite.SqliteParameter
Public Overridable Function AddWithValue (parameterName As String, value As Object) As SqliteParameter
Parameters
- parameterName
- String
The name of the parameter.
- value
- Object
The value of the parameter. Can be null.
Returns
The parameter that was added.