다음을 통해 공유


NSCoder.DecodeTopLevelObject 메서드

정의

오버로드

DecodeTopLevelObject(NSError)
DecodeTopLevelObject(String, NSError)
DecodeTopLevelObject(NSSet<Class>, String, NSError)
DecodeTopLevelObject(Class, String, NSError)
DecodeTopLevelObject(Type, String, NSError)
DecodeTopLevelObject(Type[], String, NSError)

DecodeTopLevelObject(NSError)

[Foundation.Export("decodeTopLevelObjectAndReturnError:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSObject DecodeTopLevelObject (out Foundation.NSError error);
abstract member DecodeTopLevelObject :  -> Foundation.NSObject
override this.DecodeTopLevelObject :  -> Foundation.NSObject

매개 변수

error
NSError

반환

특성

적용 대상

DecodeTopLevelObject(String, NSError)

[Foundation.Export("decodeTopLevelObjectForKey:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSObject DecodeTopLevelObject (string key, out Foundation.NSError error);
abstract member DecodeTopLevelObject : string *  -> Foundation.NSObject
override this.DecodeTopLevelObject : string *  -> Foundation.NSObject

매개 변수

key
String
error
NSError

반환

특성

적용 대상

DecodeTopLevelObject(NSSet<Class>, String, NSError)

[Foundation.Export("decodeTopLevelObjectOfClasses:forKey:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSObject DecodeTopLevelObject (Foundation.NSSet<ObjCRuntime.Class> setOfClasses, string key, out Foundation.NSError error);
abstract member DecodeTopLevelObject : Foundation.NSSet<ObjCRuntime.Class> * string *  -> Foundation.NSObject
override this.DecodeTopLevelObject : Foundation.NSSet<ObjCRuntime.Class> * string *  -> Foundation.NSObject

매개 변수

setOfClasses
NSSet<Class>

추가될 예정입니다.

이 매개 변수는 null일 수 있습니다.

key
String
error
NSError

반환

특성

적용 대상

DecodeTopLevelObject(Class, String, NSError)

[Foundation.Export("decodeTopLevelObjectOfClass:forKey:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSObject DecodeTopLevelObject (ObjCRuntime.Class klass, string key, out Foundation.NSError error);
abstract member DecodeTopLevelObject : ObjCRuntime.Class * string *  -> Foundation.NSObject
override this.DecodeTopLevelObject : ObjCRuntime.Class * string *  -> Foundation.NSObject

매개 변수

klass
Class
key
String
error
NSError

반환

특성

적용 대상

DecodeTopLevelObject(Type, String, NSError)

public Foundation.NSObject DecodeTopLevelObject (Type type, string key, out Foundation.NSError error);
member this.DecodeTopLevelObject : Type * string *  -> Foundation.NSObject

매개 변수

type
Type
key
String
error
NSError

반환

적용 대상

DecodeTopLevelObject(Type[], String, NSError)

public Foundation.NSObject DecodeTopLevelObject (Type[] types, string key, out Foundation.NSError error);
member this.DecodeTopLevelObject : Type[] * string *  -> Foundation.NSObject

매개 변수

types
Type[]
key
String
error
NSError

반환

적용 대상