共用方式為


NSOpenPanel.BeginSheet 方法

定義

多載

BeginSheet(String, String, String[], NSWindow, Action)
BeginSheet(String, String, String[], NSWindow, NSObject, Selector, IntPtr)
BeginSheet(String, String, String[], NSWindow)

BeginSheet(String, String, String[], NSWindow, Action)

public void BeginSheet (string directory, string fileName, string[] fileTypes, AppKit.NSWindow modalForWindow, Action onEnded);
override this.BeginSheet : string * string * string[] * AppKit.NSWindow * Action -> unit

參數

directory
String
fileName
String
fileTypes
String[]
modalForWindow
NSWindow
onEnded
Action

適用於

BeginSheet(String, String, String[], NSWindow, NSObject, Selector, IntPtr)

[Foundation.Export("beginSheetForDirectory:file:types:modalForWindow:modalDelegate:didEndSelector:contextInfo:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 6, ObjCRuntime.PlatformArchitecture.All, "Use NSApplication.RunModal instead.")]
public virtual void BeginSheet (string directory, string fileName, string[] fileTypes, AppKit.NSWindow modalForWindow, Foundation.NSObject modalDelegate, ObjCRuntime.Selector didEndSelector, IntPtr contextInfo);
override this.BeginSheet : string * string * string[] * AppKit.NSWindow * Foundation.NSObject * ObjCRuntime.Selector * nativeint -> unit

參數

directory
String
fileName
String
fileTypes
String[]
modalForWindow
NSWindow
modalDelegate
NSObject
didEndSelector
Selector
contextInfo
IntPtr

nativeint

屬性

適用於

BeginSheet(String, String, String[], NSWindow)

public void BeginSheet (string directory, string fileName, string[] fileTypes, AppKit.NSWindow modalForWindow);
override this.BeginSheet : string * string * string[] * AppKit.NSWindow -> unit

參數

directory
String
fileName
String
fileTypes
String[]
modalForWindow
NSWindow

適用於