ToString Method
Collapse the table of content
Expand the table of content

MainMenu.ToString Method ()


This API supports the product infrastructure and is not intended to be used directly from your code.

Returns a string that represents the MainMenu.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public override string ToString()

Return Value

Type: System.String

A string that represents the current MainMenu.

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

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft