ListBox.SelectedIndexCollection.System.Collections.IList.IndexOf メソッド
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Private Function System.Collections.IList.IndexOf ( _ selectedIndex As Object _ ) As Integer Implements IList.IndexOf
Dim instance As SelectedIndexCollection Dim selectedIndex As Object Dim returnValue As Integer returnValue = CType(instance, IList).IndexOf(selectedIndex)
private: virtual int System.Collections.IList.IndexOf ( Object^ selectedIndex ) sealed = IList::IndexOf
戻り値
ListBox.ObjectCollection の指定されたインデックスが存在する ListBox.SelectedIndexCollection 内の位置を示す 0 から始まるインデックス。それ以外の場合は -1。

このメンバは、明示的なインターフェイス メンバの実装です。ListBox.SelectedIndexCollection インスタンスが IList インターフェイスにキャストされた場合にのみ使用できます。
ListBox.SelectedIndexCollection には、ListBox コントロールの ListBox.ObjectCollection で選択されている項目のインデックスが格納されています。

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


ListBox.SelectedIndexCollection クラス
ListBox.SelectedIndexCollection メンバ
System.Windows.Forms 名前空間
IList.IndexOf
Weblioに収録されているすべての辞書からListBox.SelectedIndexCollection.System.Collections.IList.IndexOf メソッドを検索する場合は、下記のリンクをクリックしてください。

- ListBox.SelectedIndexCollection.System.Collections.IList.IndexOf メソッドのページへのリンク