Поделиться через


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

Возвращаемое значение

Атрибуты

Применяется к