Share via


WKWebExtensionContext.PerformCommand Method

Definition

Overloads

PerformCommand(NSEvent)

[Foundation.Export("performCommandForEvent:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool PerformCommand(AppKit.NSEvent event);
[<Foundation.Export("performCommandForEvent:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PerformCommand : AppKit.NSEvent -> bool
override this.PerformCommand : AppKit.NSEvent -> bool

Parameters

event
NSEvent

Returns

Attributes

Applies to

PerformCommand(UIKeyCommand)

[Foundation.Export("performCommandForKeyCommand:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool PerformCommand(UIKit.UIKeyCommand keyCommand);
[<Foundation.Export("performCommandForKeyCommand:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PerformCommand : UIKit.UIKeyCommand -> bool
override this.PerformCommand : UIKit.UIKeyCommand -> bool

Parameters

keyCommand
UIKeyCommand

Returns

Attributes

Applies to

PerformCommand(WKWebExtensionCommand)

[Foundation.Export("performCommand:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PerformCommand(WebKit.WKWebExtensionCommand command);
[<Foundation.Export("performCommand:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PerformCommand : WebKit.WKWebExtensionCommand -> unit
override this.PerformCommand : WebKit.WKWebExtensionCommand -> unit

Parameters

Attributes

Applies to