MonobjcMonobjc Documented Class Library
BeginWithCompletionHandler Method (handler)
NamespacesMonobjc.AppKitNSSavePanelBeginWithCompletionHandler(Action<(Of <<'(NSInteger>)>>))

Presents the panel as a modeless window.

Original signature is '- (void)beginWithCompletionHandler:(void (^)(NSInteger result))handler'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void BeginWithCompletionHandler(
	Action<NSInteger> handler
)
Public Overridable Sub BeginWithCompletionHandler ( _
	handler As Action(Of NSInteger) _
)
public:
virtual void BeginWithCompletionHandler(
	Action<NSInteger>^ handler
)
Parameters
handler (Action<(Of <(<'NSInteger>)>)>)
The block called after the user has closed the panel. The argument passed in will be NSFileHandlingPanelOKButton if the user chose the OK button or NSFileHandlingPanelCancelButton if the user chose the Cancel button.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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