SFKeychainSavePanel.RunModal(String, String) 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.
Displays the panel modally starting in the specified directory with a suggested filename.
[Foundation.Export("runModalForDirectory:file:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSModalResponse RunModal(string? path, string? name);
[<Foundation.Export("runModalForDirectory:file:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.RunModal : string * string -> AppKit.NSModalResponse
Parameters
- path
- String
The directory to start in, or null for the default.
- name
- String
The suggested filename, or null.
Returns
The button code that was pressed to dismiss the panel.
- Attributes