Share via


CommandBarComboBoxClass.List[Int32] Property

Definition

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

public:
 virtual property System::String ^ List[int] { System::String ^ get(int Index); void set(int Index, System::String ^ value); };
[System.Runtime.InteropServices.DispId(1610940422)]
public virtual 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 Overridable Property List(Index As Integer) As String

Parameters

Index
Int32

The (0-based) index in the list.

Property Value

The get accessor of this property returns the item at the (0-based) index location.

Implements

Attributes

Remarks

The set accessor is deprecated, and throws a DeprecatedException.

Applies to