共用方式為


Element.Builder.Add Method

Definition

Overloads

Add(Element, String)

Add a single element to this Element.

Add(Element, String, Int32)

Add an array of elements to this element.

Add(Element, String)

Add a single element to this Element.

[Android.Runtime.Register("add", "(Landroid/renderscript/Element;Ljava/lang/String;)Landroid/renderscript/Element$Builder;", "GetAdd_Landroid_renderscript_Element_Ljava_lang_String_Handler")]
public virtual Android.Renderscripts.Element.Builder? Add (Android.Renderscripts.Element? element, string? name);
[<Android.Runtime.Register("add", "(Landroid/renderscript/Element;Ljava/lang/String;)Landroid/renderscript/Element$Builder;", "GetAdd_Landroid_renderscript_Element_Ljava_lang_String_Handler")>]
abstract member Add : Android.Renderscripts.Element * string -> Android.Renderscripts.Element.Builder
override this.Add : Android.Renderscripts.Element * string -> Android.Renderscripts.Element.Builder

Parameters

element
Element
name
String

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Add(Element, String, Int32)

Add an array of elements to this element.

[Android.Runtime.Register("add", "(Landroid/renderscript/Element;Ljava/lang/String;I)Landroid/renderscript/Element$Builder;", "GetAdd_Landroid_renderscript_Element_Ljava_lang_String_IHandler")]
public virtual Android.Renderscripts.Element.Builder? Add (Android.Renderscripts.Element? element, string? name, int arraySize);
[<Android.Runtime.Register("add", "(Landroid/renderscript/Element;Ljava/lang/String;I)Landroid/renderscript/Element$Builder;", "GetAdd_Landroid_renderscript_Element_Ljava_lang_String_IHandler")>]
abstract member Add : Android.Renderscripts.Element * string * int -> Android.Renderscripts.Element.Builder
override this.Add : Android.Renderscripts.Element * string * int -> Android.Renderscripts.Element.Builder

Parameters

element
Element
name
String
arraySize
Int32

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to