ImageList::ImageCollection::Contains Method (Image^)

 

Not supported. The IList::Contains method indicates whether a specified object is contained in the list.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
bool Contains(
	Image^ image
)

Parameters

image
Type: System.Drawing::Image^

The Image to find in the list.

Return Value

Type: System::Boolean

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

Exception Condition
NotSupportedException

This method is not supported.

This implementation of the Contains method throws a NotSupportedException exception.

.NET Framework
Available since 1.1
Return to top
Show: