Skip to main content

BootstrapListBoxFieldCollection.IndexOf(BootstrapListBoxField) Method

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

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.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