Compartir a través de


VisualStateGroupList.IndexOf(VisualStateGroup) Method

Definition

Returns the index of item if found. Otherwise, returns -1.

public:
 virtual int IndexOf(Microsoft::Maui::Controls::VisualStateGroup ^ item);
public int IndexOf (Microsoft.Maui.Controls.VisualStateGroup item);
abstract member IndexOf : Microsoft.Maui.Controls.VisualStateGroup -> int
override this.IndexOf : Microsoft.Maui.Controls.VisualStateGroup -> int
Public Function IndexOf (item As VisualStateGroup) As Integer

Parameters

item
VisualStateGroup

The group whose index to get.

Returns

The index of item if found. Otherwise, -1.

Implements

Applies to