RetentionAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |