DataGridViewBand::ToString Method ()


Returns a string that represents the current band.

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

virtual String^ ToString() override

Return Value

Type: System::String^

A String that represents the current DataGridViewBand.

This method overrides the Object::ToString method. The returned string contains the class's name and Index property.

.NET Framework
Available since 2.0
Return to top