Поделиться через


Section.Add Метод

Определение

Перегрузки

Add(Element)

Добавляет новый дочерний элемент в section

Add(RootElement)
Add(IEnumerable<Element>)
Устаревшие..
Add(IEnumerable<UIView>)
Add(UIView)

Add(Element)

Добавляет новый дочерний элемент в section

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

Применяется к