UnicodeSet.ApplyPattern 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
ApplyPattern(String, Boolean) |
Modifies this set to represent the set specified by the given pattern, optionally ignoring whitespace. |
ApplyPattern(String) |
Modifies this set to represent the set specified by the given pattern. |
ApplyPattern(String, UnicodeSetOptions) |
Modifies this set to represent the set specified by the given pattern, optionally ignoring whitespace. |
ApplyPattern(String, Boolean)
Modifies this set to represent the set specified by the given pattern, optionally ignoring whitespace.
[Android.Runtime.Register("applyPattern", "(Ljava/lang/String;Z)Landroid/icu/text/UnicodeSet;", "GetApplyPattern_Ljava_lang_String_ZHandler", ApiSince=24)]
public virtual Android.Icu.Text.UnicodeSet? ApplyPattern (string? pattern, bool ignoreWhitespace);
[<Android.Runtime.Register("applyPattern", "(Ljava/lang/String;Z)Landroid/icu/text/UnicodeSet;", "GetApplyPattern_Ljava_lang_String_ZHandler", ApiSince=24)>]
abstract member ApplyPattern : string * bool -> Android.Icu.Text.UnicodeSet
override this.ApplyPattern : string * bool -> Android.Icu.Text.UnicodeSet
Parameters
- pattern
- String
a string specifying what characters are in the set
- ignoreWhitespace
- Boolean
if true then Unicode Pattern_White_Space characters are ignored
Returns
- Attributes
Remarks
Modifies this set to represent the set specified by the given pattern, optionally ignoring whitespace. See the class description for the syntax of the pattern language.
Java documentation for android.icu.text.UnicodeSet.applyPattern(java.lang.String, boolean)
.
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
ApplyPattern(String)
Modifies this set to represent the set specified by the given pattern.
[Android.Runtime.Register("applyPattern", "(Ljava/lang/String;)Landroid/icu/text/UnicodeSet;", "", ApiSince=24)]
public Android.Icu.Text.UnicodeSet? ApplyPattern (string? pattern);
[<Android.Runtime.Register("applyPattern", "(Ljava/lang/String;)Landroid/icu/text/UnicodeSet;", "", ApiSince=24)>]
member this.ApplyPattern : string -> Android.Icu.Text.UnicodeSet
Parameters
- pattern
- String
a string specifying what characters are in the set
Returns
- Attributes
Remarks
Modifies this set to represent the set specified by the given pattern. See the class description for the syntax of the pattern language. Whitespace is ignored.
Java documentation for android.icu.text.UnicodeSet.applyPattern(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
ApplyPattern(String, UnicodeSetOptions)
Modifies this set to represent the set specified by the given pattern, optionally ignoring whitespace.
[Android.Runtime.Register("applyPattern", "(Ljava/lang/String;I)Landroid/icu/text/UnicodeSet;", "GetApplyPattern_Ljava_lang_String_IHandler", ApiSince=24)]
public virtual Android.Icu.Text.UnicodeSet? ApplyPattern (string? pattern, Android.Icu.Text.UnicodeSetOptions options);
[<Android.Runtime.Register("applyPattern", "(Ljava/lang/String;I)Landroid/icu/text/UnicodeSet;", "GetApplyPattern_Ljava_lang_String_IHandler", ApiSince=24)>]
abstract member ApplyPattern : string * Android.Icu.Text.UnicodeSetOptions -> Android.Icu.Text.UnicodeSet
override this.ApplyPattern : string * Android.Icu.Text.UnicodeSetOptions -> Android.Icu.Text.UnicodeSet
Parameters
- pattern
- String
a string specifying what characters are in the set
- options
- UnicodeSetOptions
a bitmask indicating which options to apply.
Valid options are #IGNORE_SPACE
and
at most one of #CASE_INSENSITIVE
, #ADD_CASE_MAPPINGS
,
#SIMPLE_CASE_INSENSITIVE
. These case options are mutually exclusive.
Returns
- Attributes
Remarks
Modifies this set to represent the set specified by the given pattern, optionally ignoring whitespace. See the class description for the syntax of the pattern language.
Java documentation for android.icu.text.UnicodeSet.applyPattern(java.lang.String, int)
.
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.