Determines the index of a specific item in the IList .

Namespace: CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

Public Function IndexOf( _ 
ByVal aObject As Object
) As Integer
This language is not supported or no code example is available.
public int IndexOf( 
object aObject 
)
This language is not supported or no code example is available.
public:  
int IndexOf( 
object^ aObject 
)
This language is not supported or no code example is available.
public function IndexOf( 
aObject : object 
) : int;
This language is not supported or no code example is available.

Parameters

aObject
Type: object

The object to locate in the IList.

Return Value

Type: int

The index of if found in the list, otherwise, -1.

Marc, 9/29/2022.

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0