다음을 통해 공유


ObjectStreamClass.SerialVersionUID Property

Definition

Return the serialVersionUID for this class.

public virtual long SerialVersionUID { [Android.Runtime.Register("getSerialVersionUID", "()J", "GetGetSerialVersionUIDHandler")] get; }
[<get: Android.Runtime.Register("getSerialVersionUID", "()J", "GetGetSerialVersionUIDHandler")>]
member this.SerialVersionUID : int64

Property Value

the SUID of the class described by this descriptor

Attributes

Remarks

Return the serialVersionUID for this class. The serialVersionUID defines a set of classes all with the same name that have evolved from a common root class and agree to be serialized and deserialized using a common format. NonSerializable classes have a serialVersionUID of 0L.

Java documentation for java.io.ObjectStreamClass.getSerialVersionUID().

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.

Applies to