Share via


UIElementCollection.Append(UIElement) 方法

定義

將新項目加入至集合中。

public:
 virtual void Append(UIElement ^ value) = IVector<UIElement ^>::Append;
void Append(UIElement const& value);
public void Append(UIElement value);
function append(value)
Public Sub Append (value As UIElement)

參數

value
UIElement

要加入的新專案。

實作

備註

Append 會將專案加入至集合結尾。 如果您想要將專案插入集合的開頭或中間,請使用 InsertAt

如果您是使用 C# 或 Microsoft Visual Basic 進行程式設計,請參閱 Add

適用於

另請參閱