ImageList.ImageCollection.IndexOf(Image) 方法

定義

不支援。 IndexOf(Object) 方法會傳回清單中指定物件的索引。

public:
 int IndexOf(System::Drawing::Image ^ image);
public int IndexOf (System.Drawing.Image image);
member this.IndexOf : System.Drawing.Image -> int
Public Function IndexOf (image As Image) As Integer

參數

image
Image

要在清單中尋找的 Image

傳回

清單中的影像的索引。

例外狀況

不支援這個方法。

備註

這個 的實作 IndexOf 會擲回 NotSupportedException 例外狀況。

適用於