Android Guides | Samples


Defines the interface implemented by all annotations.

See Also: IAnnotation


[Android.Runtime.Register("java/lang/annotation/Annotation", "", "Java.Lang.Annotation.IAnnotationInvoker")]
public interface IAnnotation : IJavaObject, IDisposable


Defines the interface implemented by all annotations. Note that the interface itself is not an annotation, and neither is an interface that simply extends this one. Only the compiler is able to create proper annotation types.

[Android Documentation]


Namespace: Java.Lang.Annotation
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions:
Since: Added in API level 1

The members of Java.Lang.Annotation.IAnnotation are listed below.

Public Methods

AnnotationType() : Class
Returns the type of this annotation.
Equals(Object) : Boolean
Determines whether or not this annotation is equivalent to the annotation passed.
GetHashCode() : Int32
Returns the hash code of this annotation.
ToString() : String
Returns a String representation of this annotation.