BitmapEffectCollection.IndexOf(BitmapEffect) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
注意:此 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
在收藏中尋找效果。
傳回
指定效果的索引。