Bagikan melalui


ServiceTypeList.IndexOf(ServiceType) Method

Definition

Searches for the specified ServiceType and returns the zero-based index of the first occurrence within the entire ServiceTypeList.

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

Parameters

item
ServiceType

The item to search.

Returns

The zero-based index of the first occurrence within the entire ServiceTypeList.

Implements

Applies to