語言

ImageList.ImageCollection.Contains(Image) 方法

定義

不支援。 該 Contains(Object) 方法表示指定物件是否包含在清單中。

public:
 bool Contains(System::Drawing::Image ^ image);
public bool Contains(System.Drawing.Image image);
member this.Contains : System.Drawing.Image -> bool
Public Function Contains (image As Image) As Boolean

參數

image
Image

在清單中尋找。Image

傳回

true如果該圖片在列表中;否則,。 false

例外狀況

此方法不被支援。

備註

此方法實作 Contains 會 NotSupportedException 拋出例外。

適用於

另請參閱