ListView.SelectedListViewItemCollection.IndexOfKey メソッド
メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。
指定したキーを持つ項目が最初に見つかった位置のインデックスを返します。
名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文
Dim instance As SelectedListViewItemCollection Dim key As String Dim returnValue As Integer returnValue = instance.IndexOfKey(key)

Name プロパティは、ListView.SelectedListViewItemCollection における ListViewItem のキーに対応します。
キーの比較では、大文字と小文字は区別されません。key パラメータが null 参照 (Visual Basic では Nothing) または空の文字列の場合、IndexOfKey は -1 を返します。

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


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

- ListView.SelectedListViewItemCollection.IndexOfKey メソッドのページへのリンク