MonobjcMonobjc Documented Class Library
LoadAndReturnError Method (error)

Loads the bundle’s executable code and returns any errors.

Original signature is '- (BOOL)loadAndReturnError:(NSError **)error'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool LoadAndReturnError(
	out NSError error
Public Overridable Function LoadAndReturnError ( _
	<OutAttribute> ByRef error As NSError _
) As Boolean
virtual bool LoadAndReturnError(
	[OutAttribute] NSError^% error
error (NSError%)
On input, a pointer to an error object variable. On output, this variable may contain an error object indicating why the bundle’s executable could not be loaded. If no error occurred, this parameter is left unmodified. You may specify nil for this parameter if you are not interested in the error information.
Return Value
YES if the bundle’s executable code was loaded successfully or was already loaded; otherwise, NO if the code could not be loaded.
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)