DataGridViewColumn.ToString Method ()


Gets a string that describes the column.

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 describes the column.

This method overrides the Object.ToString method. The returned string contains the Name and Index properties of the DataGridViewColumn.

.NET Framework
Available since 2.0
Return to top