Compartir a través de


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

  • Value
    Type: System.Object

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

See Also

Reference

Parameter Interface

Parameter Members

Microsoft.Office.Interop.Excel Namespace