次の方法で共有


String.IsEmpty Property

Definition

Returns true if, and only if, #length() is 0.

public bool IsEmpty { [Android.Runtime.Register("isEmpty", "()Z", "")] get; }
[<get: Android.Runtime.Register("isEmpty", "()Z", "")>]
member this.IsEmpty : bool

Property Value

true if #length() is 0, otherwise false

Attributes

Remarks

Returns true if, and only if, #length() is 0.

Added in 1.6.

Java documentation for java.lang.String.isEmpty().

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