BitmapEffectCollection.IndexOf(BitmapEffect) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Note: This API is now obsolete. The non-obsolete alternative is Effect. Retrieves the index of the first instance of the specified 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
Parameters
- value
- BitmapEffect
The effect to find in the collection.
Returns
The index of the specified effect.