다음을 통해 공유


NSKeyedUnarchiver.UnarchiveTopLevelObject(NSData, NSError) 메서드

정의

[Foundation.Export("unarchiveTopLevelObjectWithData:error:")]
[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.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSObject UnarchiveTopLevelObject (Foundation.NSData data, out Foundation.NSError error);
static member UnarchiveTopLevelObject : Foundation.NSData *  -> Foundation.NSObject

매개 변수

data
NSData
error
NSError

반환

특성

적용 대상