DoesItemExistByText

Syntax

Boolean DoesItemExistByText(string text)

Description

Determine whether an item with specified text exists in the list control.

Parameters

text
String value specifying the text content of item to find.

Return Value

Return TRUE if item exists; otherwise, FALSE.

Notes

  • This method is applicable to both ListBox and ListView controls.