ServiceHealthStateList.IndexOf(ServiceHealthState) Method

Definition

Determines the index of a specific item in the collection.

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

Parameters

item
ServiceHealthState

The item to locate in the collection.

Returns

The index of the item if found in the collection; -1 otherwise.

Implements

Applies to