MonobjcMonobjc Documented Class Library
BeginModalSessionForWindow Method (aWindow)

Sets up a modal session with the given window and returns an NSModalSession structure representing the session.

Original signature is '- (NSModalSession)beginModalSessionForWindow:(NSWindow *)aWindow'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual IntPtr BeginModalSessionForWindow(
	NSWindow aWindow
Public Overridable Function BeginModalSessionForWindow ( _
	aWindow As NSWindow _
) As IntPtr
virtual IntPtr BeginModalSessionForWindow(
	NSWindow^ aWindow
aWindow (NSWindow)
The window for the session.
Return Value
The NSModalSession structure that represents the session.
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)