System.Windows.Forms.ListControl.GetItemText Method

Returns the text representation of the specified item.

Syntax

public string GetItemText (object item)

Parameters

item
The object from which to get the contents to display.

Returns

If the ListControl.DisplayMember property is not specified, the value returned by ListControl.GetItemText(object) is the value of the item's ToString method. Otherwise, the method returns the string value of the member specified in the ListControl.DisplayMember property for the object specified in the item parameter.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0