NSCoder.EncodeRoot(NSObject) 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.
When overridden, allows a graph of objects to be encoded, starting with the specified root obj.
[Foundation.Export("encodeRootObject:")]
public virtual void EncodeRoot (Foundation.NSObject obj);
abstract member EncodeRoot : Foundation.NSObject -> unit
override this.EncodeRoot : Foundation.NSObject -> unit
Parameters
- Attributes
Remarks
Allows subclasses to provide a custom mechanism to encode an object graph. The NSCoder implementation merely calls Encode on the object.