Share via


StoredProcedureParameterCollection.Add(String, Object) Method

Definition

Method to add name, value pairs.

public:
 void Add(System::String ^ paramName, System::Object ^ paramValue);
public void Add (string paramName, object paramValue);
override this.Add : string * obj -> unit
Public Sub Add (paramName As String, paramValue As Object)

Parameters

paramName
String

Name of Parameter for the SP.

paramValue
Object

Value of Parameter for the SP.

Applies to