MeasureUnit.WithDimensionality(Int32) 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 dimensionality (power).
[Android.Runtime.Register("withDimensionality", "(I)Landroid/icu/util/MeasureUnit;", "GetWithDimensionality_IHandler", ApiSince=33)]
public virtual Android.Icu.Util.MeasureUnit? WithDimensionality (int dimensionality);
[<Android.Runtime.Register("withDimensionality", "(I)Landroid/icu/util/MeasureUnit;", "GetWithDimensionality_IHandler", ApiSince=33)>]
abstract member WithDimensionality : int -> Android.Icu.Util.MeasureUnit
override this.WithDimensionality : int -> Android.Icu.Util.MeasureUnit
Parameters
- dimensionality
- Int32
The dimensionality (power).
Returns
A new SINGLE unit.
- Attributes
Remarks
Creates a MeasureUnit which is this SINGLE unit augmented with the specified dimensionality (power). For example, if dimensionality is 2, the unit will be squared.
NOTE: Only works on SINGLE units. If this is a COMPOUND or MIXED unit, an exception is thrown. For more information, Complexity
.
Java documentation for android.icu.util.MeasureUnit.withDimensionality(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.