UIElementCollection.Append(UIElement) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將新項目加入至集合中。
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。