Attempts to commit unsaved changes to registered objects to their persistent store.
Original signature is '- (BOOL)save:(NSError **)error'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
Public Overridable Function Save ( _ <OutAttribute> ByRef error As NSError _ ) As Boolean
public: virtual bool Save( [OutAttribute] NSError^% error )
Parameters
- error (NSError%)
- A pointer to an NSError object. You do not need to create an NSError object. The save operation aborts after the first failure if you pass NULL.
Return Value
YES if the save succeeds, otherwise NO.
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)