Android Guides | Samples

Java.Lang.Class.GetAnnotations Method

Returns an array containing all the annotations of this class.

Syntax

[Android.Runtime.Register("getAnnotations", "()[Ljava/lang/annotation/Annotation;", "")]
public IAnnotation[] GetAnnotations ()

See Also

Remarks

Returns an array containing all the annotations of this class. If there are no annotations then an empty array is returned.

[Android Documentation]

Requirements

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