MonobjcMonobjc Documented Class Library
PreflightAndReturnError Method (error)
NamespacesMonobjc.FoundationNSBundlePreflightAndReturnError(NSError%)

Returns a Boolean value indicating whether the bundle’s executable code could be loaded successfully.

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

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool PreflightAndReturnError(
	out NSError error
)
Public Overridable Function PreflightAndReturnError ( _
	<OutAttribute> ByRef error As NSError _
) As Boolean
public:
virtual bool PreflightAndReturnError(
	[OutAttribute] NSError^% error
)
Parameters
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 would occur, 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 could be loaded successfully or is 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)