Επεξεργασία

Κοινή χρήση μέσω


ToolStripItemCollection.Contains(ToolStripItem) Method

Definition

Determines whether the specified item is a member of the collection.

public:
 bool Contains(System::Windows::Forms::ToolStripItem ^ value);
public bool Contains (System.Windows.Forms.ToolStripItem value);
member this.Contains : System.Windows.Forms.ToolStripItem -> bool
Public Function Contains (value As ToolStripItem) As Boolean

Parameters

value
ToolStripItem

The ToolStripItem to search for in the ToolStripItemCollection.

Returns

true if the ToolStripItem is a member of the current ToolStripItemCollection; otherwise, false.

Applies to