Share via


DeployedApplicationHealthStateList.IndexOf Method

Definition

Determines the index of a specific item in the collection.

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

Parameters

item
DeployedApplicationHealthState

The item to locate in the collection.

Returns

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

Implements

Applies to