MonobjcMonobjc Documented Class Library
SaveAndReturnError Method (error)

Saves all the changes made since the last save.

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

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool SaveAndReturnError(
	out NSError error
Public Overridable Function SaveAndReturnError ( _
	<OutAttribute> ByRef error As NSError _
) As Boolean
virtual bool SaveAndReturnError(
	[OutAttribute] NSError^% error
error (NSError%)
A pointer to an error object that is set to an NSError instance if an error occurs.
Return Value
YES if successful or there were no changes; 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.AddressBook (Module: Monobjc.AddressBook)