IObjectListFieldCollection::IndexOf Method (String^)
.NET Framework (current version)
Returns the index of a field. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
Parameters
- fieldIDOrTitle
-
Type:
System::String^
A string to compare with the Title or DataField property.
In the second version of this method, it searches for a field with the Title property fieldId and returns the first matching field. If no match is found, it searches for a field with the DataField property's fieldID parameter and returns the first matching field. Otherwise, it returns -1.
.NET Framework
Available since 1.1
Available since 1.1
IndexOf
IndexOf
IndexOf
IndexOf
IndexOf Overload
IObjectListFieldCollection Interface
System.Web.UI.MobileControls Namespace
Introduction to the ObjectList Control
Show: