MeasureUnit.WithPrefix(MeasureUnit+MeasurePrefix) 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.
Creates a MeasureUnit which is this SINGLE unit augmented with the specified prefix.
[Android.Runtime.Register("withPrefix", "(Landroid/icu/util/MeasureUnit$MeasurePrefix;)Landroid/icu/util/MeasureUnit;", "GetWithPrefix_Landroid_icu_util_MeasureUnit_MeasurePrefix_Handler", ApiSince=34)]
public virtual Android.Icu.Util.MeasureUnit? WithPrefix(Android.Icu.Util.MeasureUnit.MeasurePrefix? prefix);
[<Android.Runtime.Register("withPrefix", "(Landroid/icu/util/MeasureUnit$MeasurePrefix;)Landroid/icu/util/MeasureUnit;", "GetWithPrefix_Landroid_icu_util_MeasureUnit_MeasurePrefix_Handler", ApiSince=34)>]
abstract member WithPrefix : Android.Icu.Util.MeasureUnit.MeasurePrefix -> Android.Icu.Util.MeasureUnit
override this.WithPrefix : Android.Icu.Util.MeasureUnit.MeasurePrefix -> Android.Icu.Util.MeasureUnit
Parameters
- prefix
- MeasureUnit.MeasurePrefix
The prefix, from MeasurePrefix.
Returns
A new SINGLE unit.
- Attributes
Remarks
Creates a MeasureUnit which is this SINGLE unit augmented with the specified prefix. For example, MeasurePrefix.KILO for "kilo", or MeasurePrefix.KIBI for "kibi". May return this if this unit already has that prefix.
Android reference for android.icu.util.MeasureUnit.withPrefix.
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.