IndexOf 方法

Returns the zero-based index of the first occurrence of a value in a collection.

命名空间:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
程序集:  Microsoft.SqlServer.WebServiceTask(在 Microsoft.SqlServer.WebServiceTask.dll 中)

语法

声明
Public Function IndexOf ( _
    value As DTSParamValue _
) As Integer
用法
Dim instance As DTSParamValueCollection
Dim value As DTSParamValue
Dim returnValue As Integer

returnValue = instance.IndexOf(value)
public int IndexOf(
    DTSParamValue value
)
public:
int IndexOf(
    DTSParamValue^ value
)
member IndexOf : 
        value:DTSParamValue -> int 
public function IndexOf(
    value : DTSParamValue
) : int

参数

返回值

类型:System. . :: . .Int32
The index of the first occurrence of the specified value within the collection, if found; otherwise, this method returns -1.