RootElement.Add 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Add(Section) |
將新的區段新增至此 RootElement |
Add(IEnumerable<Section>) |
將 IEnumerable 中的所有區段新增至這個根項目。 |
Add(Section)
將新的區段新增至此 RootElement
public void Add (MonoTouch.Dialog.Section section);
member this.Add : MonoTouch.Dialog.Section -> unit
參數
- section
- Section
要新增的區段,如果根是可見的,則區段會插入沒有動畫
適用於
Add(IEnumerable<Section>)
將 IEnumerable 中的所有區段新增至這個根項目。
public void Add (System.Collections.Generic.IEnumerable<MonoTouch.Dialog.Section> sections);
member this.Add : seq<MonoTouch.Dialog.Section> -> unit
參數
- sections
- IEnumerable<Section>
要新增的區段,作為 IEnumerable。