ListView.ToString Method ()


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

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns a string representation of the ListView control.

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 states the control type, the count of items in the ListView control, and the type of the first item in the ListView, if the count is not 0.

.NET Framework
Available since 1.1
Return to top