IList.IndexOf 方法
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Private Function IndexOf ( _
value As Object _
) As Integer Implements IList.IndexOf
'用途
Dim instance As ModelComponentCollection
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