StringJoiner.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
Add(ICharSequence) |
Adds a copy of the given |
Add(String) |
Adds a copy of the given |
Add(ICharSequence)
Adds a copy of the given CharSequence
value as the next
element of the StringJoiner
value.
[Android.Runtime.Register("add", "(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;", "", ApiSince=24)]
public Java.Util.StringJoiner? Add (Java.Lang.ICharSequence? newElement);
[<Android.Runtime.Register("add", "(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;", "", ApiSince=24)>]
member this.Add : Java.Lang.ICharSequence -> Java.Util.StringJoiner
Parameters
- newElement
- ICharSequence
The element to add
Returns
a reference to this StringJoiner
- Attributes
Remarks
Adds a copy of the given CharSequence
value as the next element of the StringJoiner
value. If newElement
is null
, then "null"
is added.
Java documentation for java.util.StringJoiner.add(java.lang.CharSequence)
.
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(String)
Adds a copy of the given CharSequence
value as the next
element of the StringJoiner
value.
public Java.Util.StringJoiner? Add (string? newElement);
member this.Add : string -> Java.Util.StringJoiner
Parameters
- newElement
- String
The element to add
Returns
a reference to this StringJoiner
Remarks
Adds a copy of the given CharSequence
value as the next element of the StringJoiner
value. If newElement
is null
, then "null"
is added.
Java documentation for java.util.StringJoiner.add(java.lang.CharSequence)
.
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.