ToString Method

ComboBox.ToString Method ()


Returns a string that represents the ComboBox 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 ComboBox. The string includes the type and the number of items in the ComboBox control.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft