A newer version of this page is available. Switch to the current version.

BootstrapListBoxFieldCollection.IndexOf(BootstrapListBoxField) Method

Returns the zero-based index of the specified field in the collection.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v18.2.dll

Declaration

public int IndexOf(
    BootstrapListBoxField field
)
Public Function IndexOf(
    field As BootstrapListBoxField
) As Integer

Parameters

Name Type Description
field BootstrapListBoxField

An BootstrapListBoxField object to locate in the collection.

Returns

Type Description
Int32

An integer value representing the position of the specified field in the collection.

Remarks

If the specified field is not found in the collection, this method returns -1.

See Also