NSKeyedArchiver.ArchiveRootObjectToFile(NSObject, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("archiveRootObject:toFile:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ArchivedDataWithRootObject (NSObject, bool, out NSError)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 5, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ArchivedDataWithRootObject (NSObject, bool, out NSError)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ArchivedDataWithRootObject (NSObject, bool, out NSError)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, "Use 'ArchivedDataWithRootObject (NSObject, bool, out NSError)' instead.")]
public static bool ArchiveRootObjectToFile (Foundation.NSObject root, string file);
static member ArchiveRootObjectToFile : Foundation.NSObject * string -> bool
Parameters
- root
- NSObject
- file
- String
Returns
- Attributes