Edit

Share via


Menu.ToString Method

Definition

Returns a String that represents the Menu control.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A String that represents the current Menu.

Remarks

The ToString method returns a String that includes the type and the number of items in the MenuItems property of the control.

Applies to