Language

SerialAttribute Class

Definition

Represents the Java annotation for serialization-related fields and methods.

[Android.Runtime.Annotation("java.io.Serial")]
public class SerialAttribute : Attribute
[<Android.Runtime.Annotation("java.io.Serial")>]
type SerialAttribute = class
    inherit Attribute
Inheritance
SerialAttribute
Attributes

Remarks

The managed attribute identifies java.io.Serial. That Java annotation has source retention and is not included in compiled Java classes.

Constructors

Name Description
SerialAttribute()

Creates a SerialAttribute attribute.

Applies to