AdomdParameterCollection.IList.IndexOf Method

Determines the index of the AdomdParameter in the AdomdParameterCollection.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Private Function IndexOf ( _
    pObj As Object _
) As Integer Implements IList.IndexOf
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • pObj
    Type: Object
    The AdomdParameter object to locate in the collection.

Return Value

Type: Int32
The index of the object if found in the collection; otherwise, -1.

Implements

IListIndexOf(Object)

See Also

Reference

AdomdParameterCollection Class

Microsoft.AnalysisServices.AdomdServer Namespace