MonobjcMonobjc Documented Class Library
EndSheetReturnCode Method (sheet, returnCode)
NamespacesMonobjc.AppKitNSApplicationEndSheetReturnCode(NSWindow, NSInteger)

Ends a document modal session by specifying the sheet window.

Original signature is '- (void)endSheet:(NSWindow *)sheet returnCode:(NSInteger)returnCode'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void EndSheetReturnCode(
	NSWindow sheet,
	NSInteger returnCode
)
Public Overridable Sub EndSheetReturnCode ( _
	sheet As NSWindow, _
	returnCode As NSInteger _
)
public:
virtual void EndSheetReturnCode(
	NSWindow^ sheet, 
	NSInteger returnCode
)
Parameters
sheet (NSWindow)
The sheet whose modal session you want to end.
returnCode (NSInteger)
The return code to send to the delegate. You can use one of the return codes defined in “Return values for modal operations” or a custom value that you define.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)