UnicodeSet.Set 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
| Name | Description |
|---|---|
| Set(Int32, Int32) |
Make this object represent the range |
| Set(UnicodeSet) |
Make this object represent the same set as |
Set(Int32, Int32)
Make this object represent the range start - end.
[Android.Runtime.Register("set", "(II)Landroid/icu/text/UnicodeSet;", "GetSet_IIHandler", ApiSince=24)]
public virtual Android.Icu.Text.UnicodeSet? Set(int start, int end);
[<Android.Runtime.Register("set", "(II)Landroid/icu/text/UnicodeSet;", "GetSet_IIHandler", ApiSince=24)>]
abstract member Set : int * int -> Android.Icu.Text.UnicodeSet
override this.Set : int * int -> Android.Icu.Text.UnicodeSet
Parameters
- start
- Int32
first character in the set, inclusive
- end
- Int32
last character in the set, inclusive
Returns
This set after replacing its contents with the requested inclusive code-point range.
- Attributes
Remarks
Make this object represent the range start - end. If start > end then this object is set to an empty range.
Java documentation for android.icu.text.UnicodeSet.set(int, 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.
Applies to
Set(UnicodeSet)
Make this object represent the same set as other.
[Android.Runtime.Register("set", "(Landroid/icu/text/UnicodeSet;)Landroid/icu/text/UnicodeSet;", "GetSet_Landroid_icu_text_UnicodeSet_Handler", ApiSince=24)]
public virtual Android.Icu.Text.UnicodeSet? Set(Android.Icu.Text.UnicodeSet? other);
[<Android.Runtime.Register("set", "(Landroid/icu/text/UnicodeSet;)Landroid/icu/text/UnicodeSet;", "GetSet_Landroid_icu_text_UnicodeSet_Handler", ApiSince=24)>]
abstract member Set : Android.Icu.Text.UnicodeSet -> Android.Icu.Text.UnicodeSet
override this.Set : Android.Icu.Text.UnicodeSet -> Android.Icu.Text.UnicodeSet
Parameters
- other
- UnicodeSet
a UnicodeSet whose value will be
copied to this object
Returns
This set after copying the code points and string elements of other.
- Attributes
Remarks
Make this object represent the same set as other.
Java documentation for android.icu.text.UnicodeSet.set(android.icu.text.UnicodeSet).
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.