Share via


AlgorithmParameterCollection.IndexOf Method (AlgorithmParameter)

Gets the index of a specified AlgorithmParameter.

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

Syntax

'Declaration
Public Function IndexOf ( _
    item As AlgorithmParameter _
) As Integer
'Usage
Dim instance As AlgorithmParameterCollection 
Dim item As AlgorithmParameter 
Dim returnValue As Integer 

returnValue = instance.IndexOf(item)
public int IndexOf(
    AlgorithmParameter item
)
public:
int IndexOf(
    AlgorithmParameter^ item
)
member IndexOf : 
        item:AlgorithmParameter -> int
public function IndexOf(
    item : AlgorithmParameter
) : int

Parameters

Return Value

Type: System.Int32
The zero-based index of the AlgorithmParameter if the object is found; otherwise, -1.

See Also

Reference

AlgorithmParameterCollection Class

IndexOf Overload

Microsoft.AnalysisServices Namespace