Udostępnij za pośrednictwem


EnumConstantNotPresentException.ConstantName Method

Definition

Returns the name of the missing enum constant.

[Android.Runtime.Register("constantName", "()Ljava/lang/String;", "GetConstantNameHandler")]
public virtual string? ConstantName ();
[<Android.Runtime.Register("constantName", "()Ljava/lang/String;", "GetConstantNameHandler")>]
abstract member ConstantName : unit -> string
override this.ConstantName : unit -> string

Returns

the name of the missing enum constant

Attributes

Remarks

Returns the name of the missing enum constant.

Java documentation for java.lang.EnumConstantNotPresentException.constantName().

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