Bewerken

Share via


MenuCommand.ToString Method

Definition

Returns a string representation of this menu command.

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

Returns

A string containing the value of the CommandID property appended with the names of any flags that are set, separated by pipe bars (|). These flag properties include Checked, Enabled, Supported, and Visible.

Applies to