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.