Freigeben über


AdomdParameterCollection.IList.IndexOf-Methode

Determines the index of the specified item in the collection.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Private Function IndexOf ( _
    value As Object _
) As Integer Implements IList.IndexOf
'Usage
Dim instance As AdomdParameterCollection 
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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Parameter

  • value
    Typ: System.Object
    The object to locate in the collection.

Rückgabewert

Typ: System.Int32
The index of the specified item if found in the collection; otherwise, -1.

Implementiert

IList.IndexOf(Object)

Siehe auch

Verweis

AdomdParameterCollection Klasse

Microsoft.AnalysisServices.AdomdClient-Namespace