IObjectListFieldCollection::IndexOf Method (ObjectListField^)

 

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.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

int IndexOf(
	ObjectListField^ field
)

Parameters

field
Type: System.Web.UI.MobileControls::ObjectListField^

A field to search for in the specified collection.

Return Value

Type: System::Int32

The index of the specified field.

In the first version of this method, it returns the index of the specified field. If the specified field is not in the collection, it returns -1.

.NET Framework
Available since 1.1
Return to top
Show: