BitmapEffectCollection.IList.IndexOf(Object) 方法

定義

注意:這個 API 現在已經淘汰。 非過時的替代方式是 Effect。 如需這個成員的說明,請參閱 IndexOf(Object)

 virtual int System.Collections.IList.IndexOf(System::Object ^ value) = System::Collections::IList::IndexOf;
int IList.IndexOf (object value);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (value As Object) As Integer Implements IList.IndexOf

參數

value
Object

要在 BitmapEffectCollection 中尋找的 Object

傳回

Int32

如果可在清單中找到則為 value 的索引,否則為 -1。

實作

備註

這個成員是明確介面成員實作, 只有在 BitmapEffectCollection 執行個體轉換成 IList 介面時,才能使用這個成員。

適用於