CommandBarComboBoxClass.List[Int32] Propriété

Définition

Obtient ou définit l'élément dans la liste au niveau de l'index spécifié.

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

Paramètres

Index
Int32

Index (de base 0) de la liste.

Valeur de propriété

String

L'accesseur get de cette propriété retourne l'élément au niveau de la position d'index (basé sur 0).

Implémente

Attributs

Remarques

L' set accesseur est déconseillé et lève un DeprecatedException.

S’applique à