編輯

共用方式為


ToolBar.ToString Method

Definition

Returns a string that represents the ToolBar 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 ToolBar.

Remarks

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.

Applies to