ListViewItem Constructor (String)

 
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.

Initializes a new instance of the ListViewItem class with the specified item text.

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

public ListViewItem(
	string text
)

Parameters

text
Type: System.String

The text to display for the item. This should not exceed 259 characters.

The text of the ListViewItem should not exceed 259 characters or unexpected behavior could occur.

.NET Framework
Available since 1.1
Return to top
Show: