Skip to main content
A newer version of this page is available. .

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
)

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