Språk

RetentionAttribute Class

Definition

Represents the Java @Retention annotation, which specifies how long Java annotations are retained. This managed attribute has no property for a retention policy.

[Android.Runtime.Annotation("java.lang.annotation.Retention")]
public class RetentionAttribute : Attribute
[<Android.Runtime.Annotation("java.lang.annotation.Retention")>]
type RetentionAttribute = class
    inherit Attribute
Inheritance
RetentionAttribute
Attributes

Remarks

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.

Constructors

Name Description
RetentionAttribute()

Initializes a new instance of the RetentionAttribute class.

Applies to