共用方式為


NSWindow.EndSheet 方法

定義

多載

EndSheet(NSWindow)
EndSheet(NSWindow, NSModalResponse)
EndSheet(NSWindow, nint)
已淘汰.

EndSheet(NSWindow)

[Foundation.Export("endSheet:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void EndSheet (AppKit.NSWindow sheetWindow);
abstract member EndSheet : AppKit.NSWindow -> unit
override this.EndSheet : AppKit.NSWindow -> unit

參數

sheetWindow
NSWindow
屬性

適用於

EndSheet(NSWindow, NSModalResponse)

[Foundation.Export("endSheet:returnCode:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void EndSheet (AppKit.NSWindow sheetWindow, AppKit.NSModalResponse returnCode);
abstract member EndSheet : AppKit.NSWindow * AppKit.NSModalResponse -> unit
override this.EndSheet : AppKit.NSWindow * AppKit.NSModalResponse -> unit

參數

sheetWindow
NSWindow
returnCode
NSModalResponse
屬性

適用於

EndSheet(NSWindow, nint)

警告

Use the EndSheet(NSWindow,NSModalResponse) overload.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Obsolete("Use the EndSheet(NSWindow,NSModalResponse) overload.", false)]
public virtual void EndSheet (AppKit.NSWindow sheetWindow, nint returnCode);
abstract member EndSheet : AppKit.NSWindow * nint -> unit
override this.EndSheet : AppKit.NSWindow * nint -> unit

參數

sheetWindow
NSWindow
returnCode
System.System.IntPtr System.nativeint
屬性

適用於