Editare

Partajați prin


ImageList.ImageCollection.IndexOf(Image) Method

Definition

Not supported. The IndexOf(Object) method returns the index of a specified object in the list.

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

Parameters

image
Image

The Image to find in the list.

Returns

The index of the image in the list.

Exceptions

This method is not supported.

Remarks

This implementation of IndexOf throws a NotSupportedException exception.

Applies to