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