다음을 통해 공유


Class.IsAnnotation Property

Definition

Returns true if this Class object represents an annotation interface.

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

Property Value

true if this Class object represents an annotation interface; false otherwise

Attributes

Remarks

Returns true if this Class object represents an annotation interface. Note that if this method returns true, #isInterface() would also return true, as all annotation interfaces are also interfaces.

Added in 1.5.

Java documentation for java.lang.Class.isAnnotation().

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