Java.Lang.Annotation.Retention Class
Defines a meta-annotation for determining the scope of retention for an annotation.

See Also: Retention Members

Syntax

[Android.Runtime.Register("java/lang/annotation/Retention", DoNotGenerateAcw=true)]
[System.Obsolete("Use IRetention interface instead")]
public abstract class Retention : Java.Lang.Object, IAnnotation, IDisposable

Remarks

Defines a meta-annotation for determining the scope of retention for an annotation. If the retention annotation is not set RetentionPolicy.CLASS is used as default retention.

[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