共用方式為


NSBundle.LoadNib 方法

定義

多載

LoadNib(String, NSObject)
LoadNib(String, NSObject, NSDictionary)

載入指定的 nib 並傳回最上層物件。

LoadNib(String, NSObject)

[Foundation.Export("loadNibNamed:owner:")]
public static bool LoadNib (string nibName, Foundation.NSObject owner);
static member LoadNib : string * Foundation.NSObject -> bool

參數

nibName
String
owner
NSObject

傳回

屬性

適用於

LoadNib(String, NSObject, NSDictionary)

載入指定的 nib 並傳回最上層物件。

[Foundation.Export("loadNibNamed:owner:options:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSArray LoadNib (string nibName, Foundation.NSObject owner, Foundation.NSDictionary options);
abstract member LoadNib : string * Foundation.NSObject * Foundation.NSDictionary -> Foundation.NSArray
override this.LoadNib : string * Foundation.NSObject * Foundation.NSDictionary -> Foundation.NSArray

參數

nibName
String
owner
NSObject

即將加入。

這個參數可以是 null

options
NSDictionary

即將加入。

這個參數可以是 null

傳回

屬性

適用於