共用方式為


NSHttpCookieStorage.SetCookies(NSHttpCookie[], NSUrl, NSUrl) 方法

定義

[Foundation.Export("setCookies:forURL:mainDocumentURL:")]
public virtual void SetCookies (Foundation.NSHttpCookie[] cookies, Foundation.NSUrl forUrl, Foundation.NSUrl mainDocumentUrl);
abstract member SetCookies : Foundation.NSHttpCookie[] * Foundation.NSUrl * Foundation.NSUrl -> unit
override this.SetCookies : Foundation.NSHttpCookie[] * Foundation.NSUrl * Foundation.NSUrl -> unit

參數

cookies
NSHttpCookie[]
forUrl
NSUrl
mainDocumentUrl
NSUrl
屬性

適用於