Freigeben über


DisplayMetrics.Equals(DisplayMetrics) Method

Definition

Returns true if these display metrics equal the other display metrics.

[Android.Runtime.Register("equals", "(Landroid/util/DisplayMetrics;)Z", "GetEquals_Landroid_util_DisplayMetrics_Handler")]
public virtual bool Equals (Android.Util.DisplayMetrics? other);
[<Android.Runtime.Register("equals", "(Landroid/util/DisplayMetrics;)Z", "GetEquals_Landroid_util_DisplayMetrics_Handler")>]
override this.Equals : Android.Util.DisplayMetrics -> bool

Parameters

other
DisplayMetrics

The display metrics with which to compare.

Returns

True if the display metrics are equal.

Attributes

Remarks

Returns true if these display metrics equal the other display metrics.

Java documentation for android.util.DisplayMetrics.equals(android.util.DisplayMetrics).

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