Share via


MeasureUnit.Dimensionality Property

Definition

Returns the dimensionality (power) of this MeasureUnit.

public virtual int Dimensionality { [Android.Runtime.Register("getDimensionality", "()I", "GetGetDimensionalityHandler", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getDimensionality", "()I", "GetGetDimensionalityHandler", ApiSince=33)>]
member this.Dimensionality : int

Property Value

The dimensionality (power) of this simple unit.

Attributes

Remarks

Returns the dimensionality (power) of this MeasureUnit. For example, if the unit is square, then 2 is returned.

NOTE: Only works on SINGLE units. If this is a COMPOUND or MIXED unit, an exception will be thrown. For more information, Complexity.

Java documentation for android.icu.util.MeasureUnit.getDimensionality().

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