ListViewItem.ListViewSubItemCollection.IList.IndexOf(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the index within the collection of the specified subitem.
virtual int System.Collections.IList.IndexOf(System::Object ^ subItem) = System::Collections::IList::IndexOf;
int IList.IndexOf (object subItem);
int IList.IndexOf (object? subItem);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (subItem As Object) As Integer Implements IList.IndexOf
Parameters
- subItem
- Object
An object that represents the subitem to locate in the collection.
Returns
The zero-based index of the subitem if it is in the collection; otherwise, -1.
Implements
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET