Udostępnij za pośrednictwem


StringJoiner.Length Method

Definition

Returns the length of the String representation of this StringJoiner.

[Android.Runtime.Register("length", "()I", "", ApiSince=24)]
public int Length ();
[<Android.Runtime.Register("length", "()I", "", ApiSince=24)>]
member this.Length : unit -> int

Returns

the length of the current value of StringJoiner

Attributes

Remarks

Returns the length of the String representation of this StringJoiner. Note that if no add methods have been called, then the length of the String representation (either prefix + suffix or emptyValue) will be returned. The value should be equivalent to toString().length().

Java documentation for java.util.StringJoiner.length().

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