Share via


Scanner.Match Method

Definition

Returns the match result of the last scanning operation performed by this scanner.

[Android.Runtime.Register("match", "()Ljava/util/regex/MatchResult;", "")]
public Java.Util.Regex.IMatchResult? Match ();
[<Android.Runtime.Register("match", "()Ljava/util/regex/MatchResult;", "")>]
member this.Match : unit -> Java.Util.Regex.IMatchResult

Returns

a match result for the last match operation

Attributes

Exceptions

if the match result is not available, of if the last match was not successful.

Remarks

Java documentation for java.util.Scanner.match().

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