Class.IsAnnotation Property

Definition

Returns true if this Class object represents an annotation type.

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 type; false otherwise

Attributes

Remarks

Returns true if this Class object represents an annotation type. Note that if this method returns true, #isInterface() would also return true, as all annotation types 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