DataGridViewCell.ToString Method

Definition

Returns a string that describes the current object.

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

Returns

A string that represents the current object.

Remarks

Unless otherwise noted, the ToString method for all the various cell types will return a string of the form shown in the following code example:

Classname {RowIndex = #, ColumnIndex = #}

Applies to

See also