Parameter.SetParam Method
Defines a parameter for the specified query table.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub SetParam ( _
Type As XlParameterType, _
Value As Object _
)
'Usage
Dim instance As Parameter
Dim Type As XlParameterType
Dim Value As Object
instance.SetParam(Type, Value)
void SetParam(
XlParameterType Type,
Object Value
)
Parameters
Type
Type: Microsoft.Office.Interop.Excel.XlParameterTypeRequired XlParameterType.
Value
Type: System.ObjectRequired Object. The value of the specified parameter, as shown in the description of the Type argument.