Android Guides | Samples

Java.Lang.Annotation.IAnnotation

Defines the interface implemented by all annotations.

See Also: IAnnotation

Syntax

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

Remarks

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]

Requirements

Namespace: Java.Lang.Annotation
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
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.