BitmapEffectCollection.IndexOf(BitmapEffect) 方法

定義

注意:這個 API 現在已經淘汰。 非過時的替代方式是 Effect。 擷取所指定 BitmapEffect 之第一個執行個體的索引。

public:
 virtual int IndexOf(System::Windows::Media::Effects::BitmapEffect ^ value);
public int IndexOf (System.Windows.Media.Effects.BitmapEffect value);
abstract member IndexOf : System.Windows.Media.Effects.BitmapEffect -> int
override this.IndexOf : System.Windows.Media.Effects.BitmapEffect -> int
Public Function IndexOf (value As BitmapEffect) As Integer

參數

value
BitmapEffect

要在集合中尋找的效果。

傳回

Int32

指定之效果的索引。

實作

適用於