Partager via


_CommandBarComboBox.List[Int32] Property

Definition

Gets or sets the item in the list at the specified index.

public:
 property System::String ^ List[int] { System::String ^ get(int Index); void set(int Index, System::String ^ value); };
[System.Runtime.InteropServices.DispId(1610940422)]
public string List[int Index] { [System.Runtime.InteropServices.DispId(1610940422)] get; [System.Runtime.InteropServices.DispId(1610940422)] set; }
[<System.Runtime.InteropServices.DispId(1610940422)>]
[<get: System.Runtime.InteropServices.DispId(1610940422)>]
[<set: System.Runtime.InteropServices.DispId(1610940422)>]
member this.List(int) : string with get, set
Public Property List(Index As Integer) As String

Parameters

Index
Int32

The index in the list.

Property Value

The get accessor of this property returns the item at the index location.

Attributes

Remarks

The set accessor is deprecated, and throws a DeprecatedException.

The list is 1-based.

Applies to