WKWebExtensionContext.PerformCommand Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| PerformCommand(NSEvent) | |
| PerformCommand(UIKeyCommand) | |
| PerformCommand(WKWebExtensionCommand) |
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
- command
- WKWebExtensionCommand
- Attributes