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

傳回

String,描述資料行。A 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.

適用於

另請參閱