Section.Add 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| Add(Element) |
將新的子專案加入至 區段 |
| Add(RootElement) | |
| Add(IEnumerable<Element>) |
已淘汰.
|
| Add(IEnumerable<UIView>) | |
| Add(UIView) |
Add(Element)
將新的子專案加入至 區段
public void Add (MonoTouch.Dialog.Element element);
member this.Add : MonoTouch.Dialog.Element -> unit
參數
- element
- Element
要加入至 區段的專案。
適用於
Add(RootElement)
public void Add (MonoTouch.Dialog.RootElement element);
member this.Add : MonoTouch.Dialog.RootElement -> unit
參數
- element
- RootElement
適用於
Add(IEnumerable<Element>)
警告
Please use AddAll since this version will not work in future versions of MonoTouch when we introduce 4.0 covariance
[System.Obsolete("Please use AddAll since this version will not work in future versions of MonoTouch when we introduce 4.0 covariance")]
public int Add (System.Collections.Generic.IEnumerable<MonoTouch.Dialog.Element> elements);
member this.Add : seq<MonoTouch.Dialog.Element> -> int
參數
- elements
- IEnumerable<Element>
傳回
- 屬性
適用於
Add(IEnumerable<UIView>)
public void Add (System.Collections.Generic.IEnumerable<UIKit.UIView> views);
member this.Add : seq<UIKit.UIView> -> unit
參數
- views
- IEnumerable<UIView>