共用方式為


PerspectiveCalculationCollection.IndexOf 方法

定義

多載

IndexOf(PerspectiveCalculation)

搜尋指定的 PerspectiveCalculation,並傳回其在集合中以零起始的索引。

IndexOf(String)

搜尋具有指定名稱的 PerspectiveCalculation,並傳回其在集合中以零起始的索引。

IndexOf(PerspectiveCalculation)

搜尋指定的 PerspectiveCalculation,並傳回其在集合中以零起始的索引。

public int IndexOf (Microsoft.AnalysisServices.PerspectiveCalculation item);
override this.IndexOf : Microsoft.AnalysisServices.PerspectiveCalculation -> int
Public Function IndexOf (item As PerspectiveCalculation) As Integer

參數

item
PerspectiveCalculation

要在集合中尋找的 PerspectiveCalculation

傳回

如果找到,則為 PerspectiveCalculation 在集合中以零起始的索引;否則為 -1。

適用於

IndexOf(String)

搜尋具有指定名稱的 PerspectiveCalculation,並傳回其在集合中以零起始的索引。

public int IndexOf (string name);
override this.IndexOf : string -> int
Public Function IndexOf (name As String) As Integer

參數

name
String

要在集合中找出之 PerspectiveCalculation 的名稱。

傳回

如果找到,則為 PerspectiveCalculation 在集合中以零起始的索引;否則為 -1。

適用於