Section.Add 方法

定义

重载

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

参数

适用于

Add(UIView)

public void Add (UIKit.UIView view);
member this.Add : UIKit.UIView -> unit

参数

view
UIView

适用于