Partager via


NSKeyedUnarchiver.UnarchiveFile(String) Méthode

Définition

[Foundation.Export("unarchiveObjectWithFile:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GetUnarchivedObject ()' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 5, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GetUnarchivedObject ()' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GetUnarchivedObject ()' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, "Use 'GetUnarchivedObject ()' instead.")]
public static Foundation.NSObject UnarchiveFile (string file);
static member UnarchiveFile : string -> Foundation.NSObject

Paramètres

file
String

Retours

Attributs

S’applique à