ImageList.ImageCollection.IndexOf(Image) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
不支援。 該方法會 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
參數
傳回
列表中圖片的索引。
例外狀況
此方法不被支援。
備註
此實作 IndexOf 會 NotSupportedException 拋出例外。