語言

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

在收藏中尋找效果。

傳回

指定效果的索引。

實作

適用於