Editar

Compartilhar via


ImageList.ImageCollection.Contains(Image) Method

Definition

Not supported. The Contains(Object) method indicates whether a specified object is contained in the list.

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

Parameters

image
Image

The Image to find in the list.

Returns

true if the image is found in the list; otherwise, false.

Exceptions

This method is not supported.

Remarks

This implementation of the Contains method throws a NotSupportedException exception.

Applies to

See also