ObjectListItemCollection.IndexOf(ObjectListItem) 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 of the specified item in an ObjectListItemCollection 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::ObjectListItem ^ item);
public int IndexOf (System.Web.UI.MobileControls.ObjectListItem item);
member this.IndexOf : System.Web.UI.MobileControls.ObjectListItem -> int
Public Function IndexOf (item As ObjectListItem) As Integer
Parameters
- item
- ObjectListItem
An item to search for in the collection.
Returns
The index of the specified item in an ObjectListItemCollection.
Remarks
Returns the index of the specified item as an integer. If the specified field is not found, the IndexOf method returns -1.
Applies to
See also
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za