共用方式為


NSViewController.PresentError 方法

定義

多載

PresentError(NSError)
PresentError(NSError, NSWindow, NSObject, Selector, IntPtr)

PresentError(NSError)

[Foundation.Export("presentError:")]
public virtual bool PresentError (Foundation.NSError error);
override this.PresentError : Foundation.NSError -> bool

參數

error
NSError

傳回

屬性

適用於

PresentError(NSError, NSWindow, NSObject, Selector, IntPtr)

public void PresentError (Foundation.NSError error, AppKit.NSWindow window, Foundation.NSObject delegate, ObjCRuntime.Selector didPresentSelector, IntPtr contextInfo);
override this.PresentError : Foundation.NSError * AppKit.NSWindow * Foundation.NSObject * ObjCRuntime.Selector * nativeint -> unit

參數

error
NSError
window
NSWindow
delegate
NSObject
didPresentSelector
Selector
contextInfo
IntPtr

nativeint

適用於