NodeHealthStateList.IndexOf(NodeHealthState) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines the index of a specific item in the collection.
public int IndexOf(System.Fabric.Health.NodeHealthState item);
abstract member IndexOf : System.Fabric.Health.NodeHealthState -> int
override this.IndexOf : System.Fabric.Health.NodeHealthState -> int
Public Function IndexOf (item As NodeHealthState) As Integer
Parameters
- item
- NodeHealthState
The item to locate in the collection.
Returns
The index of the item if found in the collection; -1 otherwise.