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