NSOpenPanel.BeginSheet 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 |
|---|---|
| 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
Parameters
- directory
- String
- fileName
- String
- fileTypes
- String[]
- modalForWindow
- NSWindow
- onEnded
- Action
Applies to
BeginSheet(String, String, String[], NSWindow, NSObject, Selector, IntPtr)
[Foundation.Export("beginSheetForDirectory:file:types:modalForWindow:modalDelegate:didEndSelector:contextInfo:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void BeginSheet(string? directory, string? fileName, string[]? fileTypes, AppKit.NSWindow? modalForWindow, Foundation.NSObject? modalDelegate, ObjCRuntime.Selector? didEndSelector, IntPtr contextInfo);
[<Foundation.Export("beginSheetForDirectory:file:types:modalForWindow:modalDelegate:didEndSelector:contextInfo:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.BeginSheet : string * string * string[] * AppKit.NSWindow * Foundation.NSObject * ObjCRuntime.Selector * nativeint -> unit
Parameters
- directory
- String
- fileName
- String
- fileTypes
- String[]
- modalForWindow
- NSWindow
- modalDelegate
- NSObject
- didEndSelector
- Selector
- contextInfo
-
IntPtr
nativeint
- Attributes