Upravit

Sdílet prostřednictvím


Section.Add Method

Definition

Overloads

Add(Element)

Adds a new child Element to the Section

Add(RootElement)
Add(IEnumerable<Element>)
Obsolete.
Add(IEnumerable<UIView>)
Add(UIView)

Add(Element)

Adds a new child Element to the Section

public void Add (MonoTouch.Dialog.Element element);
member this.Add : MonoTouch.Dialog.Element -> unit

Parameters

element
Element

An element to add to the section.

Applies to

Add(RootElement)

public void Add (MonoTouch.Dialog.RootElement element);
member this.Add : MonoTouch.Dialog.RootElement -> unit

Parameters

element
RootElement

Applies to

Add(IEnumerable<Element>)

Caution

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

Parameters

elements
IEnumerable<Element>

Returns

Attributes

Applies to

Add(IEnumerable<UIView>)

public void Add (System.Collections.Generic.IEnumerable<UIKit.UIView> views);
member this.Add : seq<UIKit.UIView> -> unit

Parameters

Applies to

Add(UIView)

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

Parameters

view
UIView

Applies to