次の方法で共有


ImageList.ImageCollection.IndexOf メソッド

サポートされていません。 IList.IndexOf メソッドは、リスト内の指定したオブジェクトのインデックスを返します。

Public Function IndexOf( _
   ByVal image As Image _) As Integer
[C#]
public int IndexOf(Imageimage);
[C++]
public: int IndexOf(Image* image);
[JScript]
public function IndexOf(
   image : Image) : int;

パラメータ

  • image
    リスト内で検索する Image

戻り値

リスト内のイメージのインデックス。

例外

例外の種類 条件
NotSupportedException このメソッドはサポートされていません。

解説

IList.IndexOf のこの実装は、 NotSupportedException 例外をスローします。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

ImageList.ImageCollection クラス | ImageList.ImageCollection メンバ | System.Windows.Forms 名前空間