MenuCommand::ToString Method ()

 

Returns a string representation of this menu command.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

public:
virtual String^ ToString() override

Return Value

Type: System::String^

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.

.NET Framework
Available since 1.1
Return to top
Show: