共用方式為


NSViewController.PrepareForSegue(NSStoryboardSegue, NSObject) 方法

定義

[Foundation.Export("prepareForSegue:sender:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void PrepareForSegue (AppKit.NSStoryboardSegue segue, Foundation.NSObject sender);
abstract member PrepareForSegue : AppKit.NSStoryboardSegue * Foundation.NSObject -> unit
override this.PrepareForSegue : AppKit.NSStoryboardSegue * Foundation.NSObject -> unit

參數

sender
NSObject
屬性

適用於