MonobjcMonobjc Documented Class Library
WriteToFileAtomically Method (path, flag)
NamespacesMonobjc.FoundationNSDictionaryWriteToFileAtomically(NSString, Boolean)

Writes a property list representation of the contents of the dictionary to a given path.

Original signature is '- (BOOL)writeToFile:(NSString *)path atomically:(BOOL)flag'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool WriteToFileAtomically(
	NSString path,
	bool flag
)
Public Overridable Function WriteToFileAtomically ( _
	path As NSString, _
	flag As Boolean _
) As Boolean
public:
virtual bool WriteToFileAtomically(
	NSString^ path, 
	bool flag
)
Parameters
path (NSString)
The path at which to write the file.
flag (Boolean)
A flag that specifies whether the file should be written atomically.
Return Value
YES if the file is written successfully, 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.Foundation (Module: Monobjc.Foundation)