Upravit

Sdílet prostřednictvím


CommandBarComboBoxClass.List[Int32] Property

Definition

Gets or sets an item in the CommandBarComboBox control. Read/write.

public:
 virtual property System::String ^ List[int] { System::String ^ get(int Index); void set(int Index, System::String ^ value); };
public virtual string List[int Index] { get; set; }
member this.List(int) : string with get, set
Public Overridable Property List(Index As Integer) As String

Parameters

Index
Int32

The list item to be set.

Property Value

Implements

Examples

This example checks the fourth list item in the combo box control whose caption is "Stock Data" on the command bar named "Custom." If the item isn’t "View News," the example displays a message advising the user that the combo box may be damaged and asks the user to reinstall the application.

Remarks

Note: This property is read-only for built-in combo box controls.

Applies to