Sdílet prostřednictvím


Menu.Contains(Menu) Method

Definition

Returns true if item is contained in the top-level collection of menus that belong to this menu. Otherwise, returns false.

public bool Contains (Xamarin.Forms.Menu item);
abstract member Contains : Xamarin.Forms.Menu -> bool
override this.Contains : Xamarin.Forms.Menu -> bool

Parameters

item
Menu

The menu whose presence to check.

Returns

System.Boolean

true if item is contained in the top-level collection of menus that belong to this menu. Otherwise, false.

Implements

System.Collections.Generic.ICollection`1.Contains(`0)

Applies to