_OlkComboBox.GetItem(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Obtains a String (string in C#) that represents an item at the specified location in the list of the combo box control.
public:
System::String ^ GetItem(int Index);
public string GetItem (int Index);
Public Function GetItem (Index As Integer) As String
Parameters
- Index
- Int32
A zero-based value that specifies the location of an item in the list.
Returns
A String (string in C#) value that represents the item at the specified location in the list.
Remarks
If Index
is outside the range of the allowed values (between zero and ListCount-1), then an out-of-bounds error will be returned.
Applies to
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk