共用方式為


NSApplicationDelegate.OpenFile(NSApplication, String) 方法

定義

[Foundation.Export("application:openFile:")]
public virtual bool OpenFile (AppKit.NSApplication sender, string filename);
abstract member OpenFile : AppKit.NSApplication * string -> bool
override this.OpenFile : AppKit.NSApplication * string -> bool

參數

sender
NSApplication
filename
String

傳回

屬性

適用於