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.

C# | Visual Basic | Visual C++ |
Public Overridable Function PreflightAndReturnError ( _ <OutAttribute> ByRef error As NSError _ ) As Boolean
public: virtual bool PreflightAndReturnError( [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 would occur, this parameter is left unmodified. You may specify nil for this parameter if you are not interested in the error information.

YES if the bundle’s executable code could be loaded successfully or is already loaded; otherwise, NO if the code could not be loaded.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)