ParameterInfos.IndexOf 方法
Gets the index of the parameter with the specified name in the parameter collection.
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public Function IndexOf ( _
parameterName As String _
) As Integer
用法
Dim instance As ParameterInfos
Dim parameterName As String
Dim returnValue As Integer
returnValue = instance.IndexOf(parameterName)
public int IndexOf(
string parameterName
)
public:
int IndexOf(
String^ parameterName
)
member IndexOf :
parameterName:string -> int
public function IndexOf(
parameterName : String
) : int
参数
- parameterName
类型:System.String
The name of the parameter.
返回值
类型:System.Int32
The index of the parameter with the specified name if found in the parameter collection; otherwise, -1.