編輯

共用方式為


BitmapEffectCollection.IndexOf(BitmapEffect) Method

Definition

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.

Implements

Applies to