System.Windows.Forms.ToolStripItemCollection.Find Method

Searches for items by their name and returns an array of all matching controls.

Syntax

public ToolStripItem[] Find (string key, bool searchAllChildren)

Parameters

key
The item name to search the System.Windows.Forms.ToolStripItemCollection for.
searchAllChildren
true to search child items of the System.Windows.Forms.ToolStripItem specified by the key parameter; otherwise, false.

Returns

A System.Windows.Forms.ToolStripItem array of the search results.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0