共用方式為


NSWindow.TrackEventsMatching 方法

定義

[Foundation.Export("trackEventsMatchingMask:timeout:mode:handler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void TrackEventsMatching (AppKit.NSEventMask mask, double timeout, string mode, AppKit.NSWindowTrackEventsMatchingCompletionHandler trackingHandler);
abstract member TrackEventsMatching : AppKit.NSEventMask * double * string * AppKit.NSWindowTrackEventsMatchingCompletionHandler -> unit
override this.TrackEventsMatching : AppKit.NSEventMask * double * string * AppKit.NSWindowTrackEventsMatchingCompletionHandler -> unit

參數

timeout
Double
mode
String
屬性

適用於