Partilhar via


Método IndexOf (AdomdParameter)

Returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection.

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

Sintaxe

'Declaração
Public Function IndexOf ( _
     As AdomdParameter _
) As Integer
'Uso
Dim instance As AdomdParameterCollection
Dim  As AdomdParameter
Dim returnValue As Integer

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

Parâmetros

Valor de retorno

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