Parameter.SetParam(XlParameterType, Object) Method

Definition

Defines a parameter for the specified query table.

public:
 void SetParam(Microsoft::Office::Interop::Excel::XlParameterType Type, System::Object ^ Value);
public void SetParam (Microsoft.Office.Interop.Excel.XlParameterType Type, object Value);
Public Sub SetParam (Type As XlParameterType, Value As Object)

Parameters

Value
Object

Required Object. The value of the specified parameter, as shown in the description of the Type argument.

Applies to