MenuItem::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 MenuItem.

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

public:
virtual String^ ToString() override

Return Value

Type: System::String^

A string that represents the current MenuItem. The string includes the type and the Text property of the control.

.NET Framework
Available since 1.1
Return to top
Show: