Returns true if the location is written successfully, otherwise false. flag is ignored if aURL is of a type that cannot be written atomically. The true option guarantees that aURL, if it exists at all, won't be corrupted even if the system should crash during writing. If flag is false, the dictionary is written directly to aURL. If flag is YtrueES, the receiver is written to an auxiliary location, and then the auxiliary location is renamed to aURL.
Url: The URL to which to write the receiver.Ītomically: A flag that specifies whether the output should be written atomically. If the receiver's contents are all property list objects, the file written by this method can be used to initialize a new dictionary with the class method dictionaryWithContentsOfFile or dictionaryWithContentsOfURL. This method recursively validates that all the contained objects are property list objects (instances of NSData, NSDate, NSNumber, NSString, NSArray, or NSDictionary) before writing out the file, and returns false if all the objects are not property list objects, since the resultant file would not be a valid property list. Returns true if the file is written successfully, otherwise false. The true option guarantees that path, if it exists at all, won't be corrupted even if the system should crash during writing. If flag is false, the dictionary is written directly to path.
If flag is true, the receiver is written to an auxiliary file, and then the auxiliary file is renamed to path. UseAuxiliaryFile: A flag that specifies whether the file should be written atomically. Path: The path at which to write the file. M.Set( NewCFStringMBS( "key"), NewCFStringMBS( "value"))ĭim f as FolderItem = ( "ist")