System.Windows.Forms.DataGridViewColumn.ToString Method

Gets a string that describes the column.

Syntax

public override string ToString ()

Returns

A string that describes the column.

Remarks

This method overrides the object.ToString method. The returned string contains the DataGridViewColumn.Name and DataGridViewBand.Index properties of the System.Windows.Forms.DataGridViewColumn.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0