Partager via


StringSearch.Pattern Property

Definition

Returns the pattern for which StringSearch is searching for. -or- Set the pattern to search for.

public string? Pattern { [Android.Runtime.Register("getPattern", "()Ljava/lang/String;", "", ApiSince=24)] get; [Android.Runtime.Register("setPattern", "(Ljava/lang/String;)V", "", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getPattern", "()Ljava/lang/String;", "", ApiSince=24)>]
[<set: Android.Runtime.Register("setPattern", "(Ljava/lang/String;)V", "", ApiSince=24)>]
member this.Pattern : string with get, set

Property Value

the pattern searched for

Attributes

Remarks

Property getter documentation:

Returns the pattern for which StringSearch is searching for.

Java documentation for android.icu.text.StringSearch.getPattern().

Property setter documentation:

Set the pattern to search for. The iterator's position will not be changed by this method.

Java documentation for android.icu.text.StringSearch.setPattern(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