共用方式為


WKUIDelegate.RunOpenPanel 方法

定義

[Foundation.Export("webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.iOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RunOpenPanel (WebKit.WKWebView webView, WebKit.WKOpenPanelParameters parameters, WebKit.WKFrameInfo frame, Action<Foundation.NSUrl[]> completionHandler);
abstract member RunOpenPanel : WebKit.WKWebView * WebKit.WKOpenPanelParameters * WebKit.WKFrameInfo * Action<Foundation.NSUrl[]> -> unit
override this.RunOpenPanel : WebKit.WKWebView * WebKit.WKOpenPanelParameters * WebKit.WKFrameInfo * Action<Foundation.NSUrl[]> -> unit

參數

webView
WKWebView
frame
WKFrameInfo
completionHandler
Action<NSUrl[]>
屬性

適用於