System.Windows.Forms.ToolStripManager.FindToolStrip Method

Finds the specified System.Windows.Forms.ToolStrip or a type derived from System.Windows.Forms.ToolStrip.

Syntax

public static ToolStrip FindToolStrip (string toolStripName)

Parameters

toolStripName
A string specifying the name of the System.Windows.Forms.ToolStrip or derived System.Windows.Forms.ToolStrip type to find.

Returns

The System.Windows.Forms.ToolStrip or one of its derived types as specified by the toolStripName parameter, or null if the System.Windows.Forms.ToolStrip is not found.

Remarks

Requirements

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