MonobjcMonobjc Documented Class Library
Save Method (error)
NamespacesMonobjc.CoreDataNSManagedObjectContextSave(NSError%)

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 BasicVisual C++
public virtual bool Save(
	out NSError error
)
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)