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
參數
- value
型別:Microsoft.SqlServer.Dts.Tasks.WebServiceTask. . :: . .DTSParamValue
The DTSParamValue to locate in the collection.
傳回值
型別:System. . :: . .Int32
The index of the first occurrence of the specified value within the collection, if found; otherwise, this method returns -1.