AlgorithmParameterCollection.IndexOf Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IndexOf(AlgorithmParameter) |
Searches for the specified AlgorithmParameter and returns its zero-based index within the collection. |
IndexOf(String) |
Searches for the specified AlgorithmParameter with the specified Name and returns its zero-based index within the collection. |
IndexOf(AlgorithmParameter)
Searches for the specified AlgorithmParameter and returns its zero-based index within the collection.
public int IndexOf (Microsoft.AnalysisServices.AlgorithmParameter item);
member this.IndexOf : Microsoft.AnalysisServices.AlgorithmParameter -> int
Public Function IndexOf (item As AlgorithmParameter) As Integer
Parameters
- item
- AlgorithmParameter
The AlgorithmParameter to locate.
Returns
The zero-based index of the AlgorithmParameter in the collection, if found; otherwise, -1.
Applies to
IndexOf(String)
Searches for the specified AlgorithmParameter with the specified Name and returns its zero-based index within the collection.
public int IndexOf (string name);
member this.IndexOf : string -> int
Public Function IndexOf (name As String) As Integer
Parameters
- name
- String
The Name of the AlgorithmParameter to locate.
Returns
The zero-based index of the AlgorithmParameter in the collection, if found; otherwise, -1.