DataGridViewCell.ToString Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a string that describes the current object.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

override ToString : unit -> string

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: