MonobjcMonobjc Documented Class Library
LoadNibFileExternalNameTableWithZone Method (__target, fileName, context, zone)
NamespacesMonobjc.AppKitNSBundle_AppKitAdditionsLoadNibFileExternalNameTableWithZone(NSBundle, NSString, NSDictionary, IntPtr)

Unarchives the contents of a nib file located in the receiver's bundle.

Original signature is '- (BOOL)loadNibFile:(NSString *)fileName externalNameTable:(NSDictionary *)context withZone:(NSZone *)zone'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static bool LoadNibFileExternalNameTableWithZone(
	this NSBundle __target,
	NSString fileName,
	NSDictionary context,
	IntPtr zone
)
<ExtensionAttribute> _
Public Shared Function LoadNibFileExternalNameTableWithZone ( _
	__target As NSBundle, _
	fileName As NSString, _
	context As NSDictionary, _
	zone As IntPtr _
) As Boolean
[ExtensionAttribute]
public:
static bool LoadNibFileExternalNameTableWithZone(
	NSBundle^ __target, 
	NSString^ fileName, 
	NSDictionary^ context, 
	IntPtr zone
)
Parameters
__target (NSBundle)
The target instance.
fileName (NSString)
The name of the nib file, which need not include the .nib extension.
context (NSDictionary)
A name table whose keys identify objects associated with your program or the nib file. The newly unarchived objects from the nib file use this table to connect to objects in your program. For example, the nib file uses the object associated with the NSNibOwner constant as the nib file's owning object. If you associate an empty NSMutableArray object with the NSNibTopLevelObjects constant, on output, the array contains the top level objects from the nib file. For descriptions of these constants, see NSNib Class Reference.
zone (IntPtr)
The memory zone in which to allocate the nib file objects.
Return Value
YES if the nib file was loaded successfully; otherwise, NO.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type NSBundle. When you use instance method syntax to call this method, omit the first parameter.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)