_CommandBarComboBox.AddItem(String, Object) Méthode

Définition

Ajoute un élément. Cette méthode est déconseillée.

void AddItem(std::wstring const & Text, winrt::Windows::Foundation::IInspectable const & Index);
[System.Runtime.InteropServices.DispId(1610940416)]
public void AddItem (string Text, object Index);
[<System.Runtime.InteropServices.DispId(1610940416)>]
abstract member AddItem : string * obj -> unit
Public Sub AddItem (Text As String, Optional Index As Object)

Paramètres

Text
String

Le texte de l'élément.

Index
Object

Index de l'élément.

Attributs

Remarques

Cette méthode est déconseillée et lève un DeprecatedException lorsqu’elle est appelée.

S’applique à