共用方式為


NSView.ReplaceSubviewWith(NSView, NSView) 方法

定義

[Foundation.Export("replaceSubview:with:")]
public virtual void ReplaceSubviewWith (AppKit.NSView oldView, AppKit.NSView newView);
abstract member ReplaceSubviewWith : AppKit.NSView * AppKit.NSView -> unit
override this.ReplaceSubviewWith : AppKit.NSView * AppKit.NSView -> unit

參數

oldView
NSView
newView
NSView
屬性

適用於