MobileListItemCollection.IndexOf(MobileListItem) 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.
Gets the index of the specified item in a MobileListItemCollection object. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
int IndexOf(System::Web::UI::MobileControls::MobileListItem ^ item);
public int IndexOf (System.Web.UI.MobileControls.MobileListItem item);
member this.IndexOf : System.Web.UI.MobileControls.MobileListItem -> int
Public Function IndexOf (item As MobileListItem) As Integer
Parameters
- item
- MobileListItem
An item to search for in the collection.
Returns
The index of the specified item in the collection.
Remarks
Gets the index of the specified item as an integer. If the specified item is not in the collection, the IndexOf method returns -1
.
Applies to
See also
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ