NSCoder.DecodeObject 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
| Name | Description |
|---|---|
| DecodeObject(Type, String) | |
| DecodeObject(Class, String) | |
| DecodeObject(Type[], String) | |
| DecodeObject(String) | |
| DecodeObject() | |
| DecodeObject(NSSet<Class>, String) |
DecodeObject(Type, String)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public Foundation.NSObject? DecodeObject(Type type, string key);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.DecodeObject : Type * string -> Foundation.NSObject
Parameters
- type
- Type
- key
- String
Returns
- Attributes
Applies to
DecodeObject(Class, String)
[Foundation.Export("decodeObjectOfClass:forKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject? DecodeObject(ObjCRuntime.Class class, string key);
[<Foundation.Export("decodeObjectOfClass:forKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeObject : ObjCRuntime.Class * string -> Foundation.NSObject
override this.DecodeObject : ObjCRuntime.Class * string -> Foundation.NSObject
Parameters
- class
- Class
- key
- String
Returns
- Attributes
Applies to
DecodeObject(Type[], String)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public Foundation.NSObject? DecodeObject(Type[] types, string key);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.DecodeObject : Type[] * string -> Foundation.NSObject
Parameters
- types
- Type[]
- key
- String
Returns
- Attributes
Applies to
DecodeObject(String)
[Foundation.Export("decodeObjectForKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject DecodeObject(string key);
[Foundation.Export("decodeObjectForKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject? DecodeObject(string key);
[<Foundation.Export("decodeObjectForKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeObject : string -> Foundation.NSObject
override this.DecodeObject : string -> Foundation.NSObject
Parameters
- key
- String
Returns
- Attributes
Applies to
DecodeObject()
[Foundation.Export("decodeObject")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject DecodeObject();
[Foundation.Export("decodeObject")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject? DecodeObject();
[<Foundation.Export("decodeObject")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeObject : unit -> Foundation.NSObject
override this.DecodeObject : unit -> Foundation.NSObject
Returns
- Attributes
Applies to
DecodeObject(NSSet<Class>, String)
[Foundation.Export("decodeObjectOfClasses:forKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject? DecodeObject(Foundation.NSSet<ObjCRuntime.Class>? classes, string key);
[<Foundation.Export("decodeObjectOfClasses:forKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeObject : Foundation.NSSet<ObjCRuntime.Class> * string -> Foundation.NSObject
override this.DecodeObject : Foundation.NSSet<ObjCRuntime.Class> * string -> Foundation.NSObject
Parameters
- key
- String
Returns
- Attributes