AlgorithmParameterCollection.IndexOf 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| IndexOf(AlgorithmParameter) |
搜索指定 AlgorithmParameter 并返回集合中其从零开始的索引。 |
| IndexOf(String) |
在集合中搜索具有指定名称的指定 AlgorithmParameter,并返回其从零开始的索引。 |
IndexOf(AlgorithmParameter)
搜索指定 AlgorithmParameter 并返回集合中其从零开始的索引。
public int IndexOf(Microsoft.AnalysisServices.AlgorithmParameter item);
member this.IndexOf : Microsoft.AnalysisServices.AlgorithmParameter -> int
Public Function IndexOf (item As AlgorithmParameter) As Integer
参数
- item
- AlgorithmParameter
要查找的 AlgorithmParameter。
返回
如果找到,则为集合中 AlgorithmParameter 的从零开始的索引;否则为 -1。
适用于
IndexOf(String)
在集合中搜索具有指定名称的指定 AlgorithmParameter,并返回其从零开始的索引。
public int IndexOf(string name);
member this.IndexOf : string -> int
Public Function IndexOf (name As String) As Integer
参数
- name
- String
要查找的 AlgorithmParameter 的名称。
返回
如果找到,则为集合中 AlgorithmParameter 的从零开始的索引;否则为 -1。