TabControl.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 TabControl control.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public override string ToString()

Return Value

Type: System.String

A string that represents the current TabControl.

The string includes the type and the Count property of the control. If there is at least one TabPage control on the TabControl, this method returns a string that includes the string returned by the ToString method for the first TabPage.

.NET Framework
Available since 1.1
Return to top