AbstractCookieSpec.GetAttribHandler(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會讓處理器註冊為指定的 cookie 屬性。
[Android.Runtime.Register("getAttribHandler", "(Ljava/lang/String;)Lorg/apache/http/cookie/CookieAttributeHandler;", "GetGetAttribHandler_Ljava_lang_String_Handler")]
protected virtual Org.Apache.Http.Cookies.ICookieAttributeHandler? GetAttribHandler(string? name);
[<Android.Runtime.Register("getAttribHandler", "(Ljava/lang/String;)Lorg/apache/http/cookie/CookieAttributeHandler;", "GetGetAttribHandler_Ljava_lang_String_Handler")>]
abstract member GetAttribHandler : string -> Org.Apache.Http.Cookies.ICookieAttributeHandler
override this.GetAttribHandler : string -> Org.Apache.Http.Cookies.ICookieAttributeHandler
參數
- name
- String
所需 cookie 屬性的名稱。
傳回
已註冊的處理程序。
- 屬性
例外狀況
命名屬性不會註冊處理程序。
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。