ToolBar::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 ToolBar control.

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 ToolBar.

The ToString method returns a string that includes the type, the value of the Count property in the ToolBar::ToolBarButtonCollection, and the string returned by the ToString method of the toolbar’s first button.

.NET Framework
Available since 1.1
Return to top
Show: