ToString Method
TOC
Collapse the table of content
Expand the table of content

DataGridViewCell.ToString Method ()

 

Returns a string that describes the current object.

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 represents the current object.

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 = #}

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft