Editare

Partajați prin


OdbcParameterCollection.AddWithValue(String, Object) Method

Definition

Adds a value to the end of the OdbcParameterCollection.

public:
 System::Data::Odbc::OdbcParameter ^ AddWithValue(System::String ^ parameterName, System::Object ^ value);
public System.Data.Odbc.OdbcParameter AddWithValue (string? parameterName, object? value);
public System.Data.Odbc.OdbcParameter AddWithValue (string parameterName, object value);
member this.AddWithValue : string * obj -> System.Data.Odbc.OdbcParameter
Public Function AddWithValue (parameterName As String, value As Object) As OdbcParameter

Parameters

parameterName
String

The name of the parameter.

value
Object

The value to be added.

Returns

An OdbcParameter object.

Applies to

See also