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.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

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

returnValue = instance.IndexOf(value)
public int IndexOf(
    AdomdParameter value
)
public:
int IndexOf(
    AdomdParameter^ value
)
member IndexOf : 
        value:AdomdParameter -> int 
public function IndexOf(
    value : AdomdParameter
) : int

Parâmetros

Valor de retorno

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