AnnotationCollection.IList.IndexOf 方法
Determines the index of the specific item in the collection.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Private Function IndexOf ( _
value As Object _
) As Integer Implements IList.IndexOf
'用途
Dim instance As AnnotationCollection
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 collection.
傳回值
型別:System.Int32
The index of value in the collection, if found; otherwise, -1.