System.Windows.Forms.MainMenu.ToString Method

Returns a string that represents the System.Windows.Forms.MainMenu.

Syntax

public override string ToString ()

Returns

A string that represents the current System.Windows.Forms.MainMenu.

Remarks

The return string includes the type and the string returned by the Form.ToString method if the System.Windows.Forms.MainMenu is assigned to a form.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0