Skip to main content
A newer version of this page is available.
All docs
V19.1
Bar

Strings.IndexOf(String) Method

Determines the index of a specific string in the Strings collection.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

public virtual int IndexOf(
    string item
)

Parameters

Name Type Description
item String

The string to locate in the Strings collection.

Returns

Type Description
Int32

The string index if found in the collection, otherwise -1.

See Also