ListBox.GetItemText
- 已更新2025-07-21
- 閱讀時間為 1 分鐘
ListBox.GetItemText
Syntax
ListBox.GetItemText( itemIdx)
Return Value
Purpose
Returns the text of the item at a specified index.
Parameters
itemIdx As Long
[In] Specifies the zero-based index of the item to return. Pass the ListBox.ItemIndex property or pass -1 to obtain the text of the currently selected item.