編輯

共用方式為


NSOpenPanel.RunModal Method

Definition

Overloads

RunModal(String, String, String[])
RunModal(String[])

RunModal(String, String, String[])

[Foundation.Export("runModalForDirectory:file:types:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 6, ObjCRuntime.PlatformArchitecture.All, "Use NSApplication.RunModal instead.")]
public virtual nint RunModal (string directory, string fileName, string[] types);
override this.RunModal : string * string * string[] -> nint

Parameters

directory
String
fileName
String
types
String[]

Returns

System.System.IntPtr System.nativeint
Attributes

Applies to

RunModal(String[])

[Foundation.Export("runModalForTypes:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 6, ObjCRuntime.PlatformArchitecture.All, "Use NSApplication.RunModal instead.")]
public virtual nint RunModal (string[] types);
override this.RunModal : string[] -> nint

Parameters

types
String[]

Returns

System.System.IntPtr System.nativeint
Attributes

Applies to