TCnListControl.GetItemText(Olevariant) Method

Returns the text representation of the specified item.

Namespace: CNClrLib.Control.ListControl
public
 function GetItemText(Item: Olevariant): String;

Parameters

Item
Type: Olevariant

The object from which to get the contents to display.

Return Value

Type: String

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