PartitionHealthStateList.IndexOf(PartitionHealthState) Method

Definition

Determines the index of a specific item in the collection.

public int IndexOf (System.Fabric.Health.PartitionHealthState item);
abstract member IndexOf : System.Fabric.Health.PartitionHealthState -> int
override this.IndexOf : System.Fabric.Health.PartitionHealthState -> int
Public Function IndexOf (item As PartitionHealthState) As Integer

Parameters

item
PartitionHealthState

The item to locate in the collection.

Returns

Returns Int32 which represents the index of the item if found in the collection; -1 otherwise.

Implements

Applies to