Element.Builder.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| 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
The element that describes the field.
- name
- String
The name of the field.
Returns
This builder.
- 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
The element that describes each array entry.
- name
- String
The name of the array field.
- arraySize
- Int32
The number of array entries, at least one.
Returns
This builder.
- 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.