Language

SFKeychainSavePanel.RunModal(String, String) Method

Definition

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

Applies to