Android Guides | Samples

Java.Lang.Enum.Equals Method

Compares this object with the specified object and indicates if they are equal.

Syntax

[Android.Runtime.Register("equals", "(Ljava/lang/Object;)Z", "")]
public override sealed Boolean Equals (Object other)

Parameters

other
the object to compare this enum constant with.

Remarks

Compares this object with the specified object and indicates if they are equal. In order to be equal, object must be identical to this enum constant.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1