GroupSummarySortInfoCollection.IndexOf(GroupSummarySortInfo) Method

Returns the position of the specified item within the collection.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public int IndexOf(
    GroupSummarySortInfo info
)
Public Function IndexOf(
    info As GroupSummarySortInfo
) As Integer

Parameters

Name Type Description
info GroupSummarySortInfo

The GroupSummarySortInfo object to locate in the collection.

Returns

Type Description
Int32

A zero-based integer representing the specified item's position within the collection. -1 if the collection doesn't contain the specified GroupSummarySortInfo object.

Remarks

The IndexOf method iterates through the elements in the collection until the specified item is found starting from the first element in the collection. The first found element's index is returned.

See Also