NSKeyedUnarchiver.UnarchiveObject(NSData) 方法

定义

[Foundation.Export("unarchiveObjectWithData:")]
[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 UnarchiveObject (Foundation.NSData data);
static member UnarchiveObject : Foundation.NSData -> Foundation.NSObject

参数

data
NSData

返回

属性

适用于