MonobjcMonobjc Documented Class Library
NSBundle Constructor (fullPath)

Returns an NSBundle object initialized to correspond to the specified directory.

Original signature is '- (id)initWithPath:(NSString *)fullPath'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSBundle(
	NSString fullPath
Public Sub New ( _
	fullPath As NSString _
	NSString^ fullPath
fullPath (NSString)
The path to a directory. This must be a full pathname for a directory; if it contains any symbolic links, they must be resolvable.
Return Value
An NSBundle object initialized to correspond to fullPath. This method initializes and returns a new instance only if there is no existing bundle associated with fullPath, otherwise it deallocates self and returns the existing object. If fullPath doesn’t exist or the user doesn’t have access to it, returns nil.
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.Foundation (Module: Monobjc.Foundation)