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

返回

属性

适用于