AdomdParameterCollection.IndexOf Method (String)

Given a property name, this method returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection.

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

Syntax

'Declaration
Public Function IndexOf ( _
    As String _
) As Integer
'Usage
Dim instance As AdomdParameterCollection 
DimAs String 
Dim returnValue As Integer 

returnValue = instance.IndexOf()
public int IndexOf(
    string
)
public:
virtual int IndexOf(
    String^ 
) sealed
abstract IndexOf : 
        :string -> int  
override IndexOf : 
        :string -> int
public final function IndexOf(
     : String
) : int

Parameters

Return Value

Type: Int32
The index of value if found in the list. Otherwise, it returns -1.

Implements

IDataParameterCollectionIndexOf(String)

See Also

Reference

AdomdParameterCollection Class

IndexOf Overload

Microsoft.AnalysisServices.AdomdServer Namespace