Java.Util.Regex.Matcher.UsePattern Method
Sets a new pattern for the Matcher.

Syntax

[Android.Runtime.Register("usePattern", "(Ljava/util/regex/Pattern;)Ljava/util/regex/Matcher;", "")]
public Matcher UsePattern (Pattern pattern)

Parameters

pattern
the new Pattern.

Returns

Documentation for this section has not yet been entered.

Remarks

Sets a new pattern for the Matcher. Results of a previous find get lost. The next attempt to find an occurrence of the Java.Util.Regex.Pattern in the string will start at the beginning of the input.

[Android Documentation]

Requirements

Namespace: Java.Util.Regex
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1