MenuItem.ToString Method

Definition

Returns a string that represents the MenuItem.

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 MenuItem. The string includes the type and the Text property of the control.

Applies to