_OlkComboBox.AddItem(String, Object) 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.
Adds an item to the list, optionally specifying an index for the new item to appear in the list.
public void AddItem (string ItemText, object Index);
Public Sub AddItem (ItemText As String, Optional Index As Object)
Parameters
- ItemText
- String
Value to be added to the list in the combo box.
- Index
- Object
A 0-based value that specifies the order of the new item in the list.
Remarks
If the value of Index
is equal to or larger than the number of elements in the list, the new item will be added to the end of the list.
Applies to
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for