次の方法で共有


Field.IsEnumConstant Property

Definition

Returns true if this field represents an element of an enumerated type; returns false otherwise.

public bool IsEnumConstant { [Android.Runtime.Register("isEnumConstant", "()Z", "")] get; }
[<get: Android.Runtime.Register("isEnumConstant", "()Z", "")>]
member this.IsEnumConstant : bool

Property Value

true if and only if this field represents an element of an enumerated type.

Attributes

Remarks

Returns true if this field represents an element of an enumerated type; returns false otherwise.

Added in 1.5.

Java documentation for java.lang.reflect.Field.isEnumConstant().

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