語言

ObjectStreamConstants.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 前的 JVM 讀取。

在 1.2 版本中加入。

Java 文件 java.io.ObjectStreamConstants.PROTOCOL_VERSION_1

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於