ObjectOutputStream.InterfaceConsts.ProtocolVersion1 字段

定义

注意

This constant will be removed in the future version. Use Java.IO.ObjectStreamProtocol enum directly instead of this field.

流协议版本。

[Android.Runtime.Register("PROTOCOL_VERSION_1")]
[System.Obsolete("This constant will be removed in the future version. Use Java.IO.ObjectStreamProtocol enum directly instead of this field.", true)]
public const Java.IO.ObjectStreamProtocol ProtocolVersion1 = 1;
[<Android.Runtime.Register("PROTOCOL_VERSION_1")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.IO.ObjectStreamProtocol enum directly instead of this field.", true)>]
val mutable ProtocolVersion1 : Java.IO.ObjectStreamProtocol

字段值

Value = 1
属性

注解

流协议版本。

调用此方法后,所有可外部数据都以 JDK 1.1 外部数据格式写入。 此版本需要写入包含外部数据(可由 JDK 1.1.6 VM 读取)的流。

已在 1.2 中添加。

Java文档java.io.ObjectStreamConstants.PROTOCOL_VERSION_1

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于