共用方式為


NSDocumentController.PresentError 方法

定義

多載

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

PresentError(NSError)

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

參數

error
NSError

傳回

屬性

適用於

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

[Foundation.Export("presentError:modalForWindow:delegate:didPresentSelector:contextInfo:")]
public virtual void PresentError (Foundation.NSError error, AppKit.NSWindow window, Foundation.NSObject delegateObject, ObjCRuntime.Selector didPresentSelector, IntPtr contextInfo);
abstract member PresentError : Foundation.NSError * AppKit.NSWindow * Foundation.NSObject * ObjCRuntime.Selector * nativeint -> unit
override this.PresentError : Foundation.NSError * AppKit.NSWindow * Foundation.NSObject * ObjCRuntime.Selector * nativeint -> unit

參數

error
NSError
window
NSWindow
delegateObject
NSObject
didPresentSelector
Selector
contextInfo
IntPtr

nativeint

屬性

適用於