TextUtils.IsDigitsOnly 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
IsDigitsOnly(ICharSequence) |
Returns whether the given CharSequence contains only digits. |
IsDigitsOnly(String) |
Returns whether the given CharSequence contains only digits. |
IsDigitsOnly(ICharSequence)
Returns whether the given CharSequence contains only digits.
[Android.Runtime.Register("isDigitsOnly", "(Ljava/lang/CharSequence;)Z", "")]
public static bool IsDigitsOnly (Java.Lang.ICharSequence? str);
[<Android.Runtime.Register("isDigitsOnly", "(Ljava/lang/CharSequence;)Z", "")>]
static member IsDigitsOnly : Java.Lang.ICharSequence -> bool
Parameters
- str
- ICharSequence
Returns
- Attributes
Remarks
Returns whether the given CharSequence contains only digits.
Java documentation for android.text.TextUtils.isDigitsOnly(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
IsDigitsOnly(String)
Returns whether the given CharSequence contains only digits.
public static bool IsDigitsOnly (string? str);
static member IsDigitsOnly : string -> bool
Parameters
- str
- String
Returns
Remarks
Returns whether the given CharSequence contains only digits.
Java documentation for android.text.TextUtils.isDigitsOnly(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.