MonobjcMonobjc Documented Class Library
MainBundle Property

Returns the NSBundle object that corresponds to the directory where the current application executable is located.

Original signature is '+ (NSBundle *)mainBundle'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSBundle MainBundle { get; }
Public Shared ReadOnly Property MainBundle As NSBundle
static property NSBundle^ MainBundle {
	NSBundle^ get ();
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)