DataGridViewColumn.ToString DataGridViewColumn.ToString DataGridViewColumn.ToString DataGridViewColumn.ToString Method

定义

获取一个描述该列的字符串。Gets a string that describes the column.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

返回

对该列进行描述的 StringA String that describes the column.

注解

此方法将Object.ToString重写方法。This method overrides the Object.ToString method. 返回的字符串包含Name的和Index属性。 DataGridViewColumnThe returned string contains the Name and Index properties of the DataGridViewColumn.

适用于

另请参阅