NSCoder.DecodeTopLevelObject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- error
- NSError
Returns
- Attributes
Applies to
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
Parameters
- key
- String
- error
- NSError
Returns
- Attributes
Applies to
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
Parameters
- key
- String
- error
- NSError
Returns
- Attributes
Applies to
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
Parameters
- klass
- Class
- key
- String
- error
- NSError
Returns
- Attributes