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
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.