← Back to carmenta.com
Carmenta Engine SDK Documentation
×

DataSetCollection.IndexOf Method

Tries to find the index of the first occurrence of a value in the collection.

Thread safety: This method is not thread-safe. Show

IndexOf(DataSet item)

Returns the zero-based index of the first occurrence of a value in the collection.

Syntax

C#
public System.Int32 IndexOf (
    DataSet item
)

Parameters

item
Type: DataSet
The value to locate in the collection.

Return Value

Type: System.Int32
The zero-based index of the first occurrence of item in the collection, if found; otherwise, -1.

Platforms

Windows, Linux, Android

By accessing the information on this site you accept our terms and conditions and privacy policy.
This site uses cookies to enhance your experience and provide additional functionality.

Accept