語言

ISetCookie.SetVersion(Int32) 方法

定義

設定該 cookie 所遵循的 cookie 規範版本。

[Android.Runtime.Register("setVersion", "(I)V", "GetSetVersion_IHandler:Org.Apache.Http.Cookies.ISetCookieInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetVersion(int version);
[<Android.Runtime.Register("setVersion", "(I)V", "GetSetVersion_IHandler:Org.Apache.Http.Cookies.ISetCookieInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetVersion : int -> unit

參數

version
Int32

餅乾的版本。

屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

另請參閱