Compartir a través de


_CommandBarComboBox.AddItem(String, Object) Method

Definition

Adds an item. This method is deprecated.

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)

Parameters

Text
String

The text of the item.

Index
Object

The index of the item.

Attributes

Remarks

This method is deprecated, and throws a DeprecatedException when called.

Applies to