Back to Devexpress

PresentationCollectionBase<T>.IndexOf(T) Method

officefileapi-devexpress-dot-docs-dot-presentation-dot-presentationcollectionbase-1-dot-indexof-x28-0-x29.md

latest1.4 KB
Original Source

PresentationCollectionBase<T>.IndexOf(T) Method

Returns the position of the specified item in the collection.

Namespace : DevExpress.Docs.Presentation

Assembly : DevExpress.Docs.Presentation.v25.2.dll

NuGet Package : DevExpress.Docs.Presentation

Declaration

csharp
public int IndexOf(
    T item
)
vb
Public Function IndexOf(
    item As T
) As Integer

Parameters

NameTypeDescription
itemT

The item to locate in the collection.

|

Returns

TypeDescription
Int32

The zero-based index of the item in the collection, or -1 if the item is not found.

|

See Also

PresentationCollectionBase<T> Class

PresentationCollectionBase<T> Members

DevExpress.Docs.Presentation Namespace