Partager via


MailTo.IsMailTo(String) Method

Definition

Test to see if the given string is a mailto URL

[Android.Runtime.Register("isMailTo", "(Ljava/lang/String;)Z", "")]
public static bool IsMailTo (string? url);
[<Android.Runtime.Register("isMailTo", "(Ljava/lang/String;)Z", "")>]
static member IsMailTo : string -> bool

Parameters

url
String

string to be tested

Returns

true if the string is a mailto URL

Attributes

Remarks

Test to see if the given string is a mailto URL

Java documentation for android.net.MailTo.isMailTo(java.lang.String).

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