다음을 통해 공유


Enum.GetHashCode Method

Definition

Returns a hash code for this enum constant.

[Android.Runtime.Register("hashCode", "()I", "")]
public override sealed int GetHashCode ();
[<Android.Runtime.Register("hashCode", "()I", "")>]
override this.GetHashCode : unit -> int

Returns

a hash code for this enum constant.

Attributes

Remarks

Returns a hash code for this enum constant.

Java documentation for java.lang.Enum.hashCode().

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