共用方式為


NSWorkspace.LaunchApp 方法

定義

[Foundation.Export("launchAppWithBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifier:")]
[ObjCRuntime.ThreadSafe]
public virtual bool LaunchApp (string bundleIdentifier, AppKit.NSWorkspaceLaunchOptions options, Foundation.NSAppleEventDescriptor descriptor, IntPtr identifier);
abstract member LaunchApp : string * AppKit.NSWorkspaceLaunchOptions * Foundation.NSAppleEventDescriptor * nativeint -> bool
override this.LaunchApp : string * AppKit.NSWorkspaceLaunchOptions * Foundation.NSAppleEventDescriptor * nativeint -> bool

參數

bundleIdentifier
String
identifier
IntPtr

nativeint

傳回

屬性

適用於