語言

BasicClientCookie 建構函式

定義

多載

名稱 Description
BasicClientCookie(IntPtr, JniHandleOwnership)

初始化一個管理式包裝器,用於現有的 Java Cookie 實作。

BasicClientCookie(String, String)

初始化 BasicClientCookie 類別的新實例。

初始化一個管理式包裝器,用於現有的 Java Cookie 實作。

protected BasicClientCookie(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Impl.Cookie.BasicClientCookie : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Impl.Cookie.BasicClientCookie

參數

javaReference
IntPtr

nativeint

一個現有 Java 節點的帳號。

transfer
JniHandleOwnership

指定此包裝器是否假設擁有 Java 代言人的所有權。

備註

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

適用於

初始化 BasicClientCookie 類別的新實例。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public BasicClientCookie(string? name, string? value);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Org.Apache.Http.Impl.Cookie.BasicClientCookie : string * string -> Org.Apache.Http.Impl.Cookie.BasicClientCookie

參數

name
String

餅乾的名字。

value
String

餅乾的價值。

屬性

備註

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

適用於