編輯

共用方式為


SFSafariExtensionHandler.ValidateContextMenuItemAsync Method

Definition

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, 4, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual System.Threading.Tasks.Task<SafariServices.SFExtensionValidationResult> ValidateContextMenuItemAsync (string command, SafariServices.SFSafariPage page, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> userInfo);
abstract member ValidateContextMenuItemAsync : string * SafariServices.SFSafariPage * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> System.Threading.Tasks.Task<SafariServices.SFExtensionValidationResult>
override this.ValidateContextMenuItemAsync : string * SafariServices.SFSafariPage * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> System.Threading.Tasks.Task<SafariServices.SFExtensionValidationResult>

Parameters

command
String

Returns

Attributes

Applies to