INSCoding.CreateInstance<T>(NSCoder) 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.
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static T? CreateInstance<T>(Foundation.NSCoder decoder) where T : Foundation.NSObject, Foundation.INSCoding;
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateInstance : Foundation.NSCoder -> 'T (requires 'T :> Foundation.NSObject and 'T :> Foundation.INSCoding)
Type Parameters
- T
Parameters
- decoder
- NSCoder
Returns
T
- Attributes