AlgorithmParameterCollection.IList.IndexOf 方法
Determines the index of a specific item in the AlgorithmParameterCollection.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Private Function IndexOf ( _
value As Object _
) As Integer Implements IList.IndexOf
'用途
Dim instance As AlgorithmParameterCollection
Dim value As Object
Dim returnValue As Integer
returnValue = CType(instance, IList).IndexOf(value)
int IList.IndexOf(
Object value
)
private:
virtual int IndexOf(
Object^ value
) sealed = IList::IndexOf
private abstract IndexOf :
value:Object -> int
private override IndexOf :
value:Object -> int
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。
參數
- value
型別:System.Object
The object to locate in the AlgorithmParameterCollection.
傳回值
型別:System.Int32
The index of value if found in the AlgorithmParameterCollection.; otherwise, -1.