다음을 통해 공유


ReplicaHealthStateList.IndexOf(ReplicaHealthState) Method

Definition

Determines the index of a specific item in the collection.

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

Parameters

item
ReplicaHealthState

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