Bewerken

Delen via


NSCoder.EncodeConditionalObject(NSObject, String) Method

Definition

When overridden, allows conditional encoding of an object, preserving common references.

[Foundation.Export("encodeConditionalObject:forKey:")]
public virtual void EncodeConditionalObject (Foundation.NSObject val, string key);
abstract member EncodeConditionalObject : Foundation.NSObject * string -> unit
override this.EncodeConditionalObject : Foundation.NSObject * string -> unit

Parameters

val
NSObject

Object to encode.

This parameter can be null.

key
String

Key to associate with the object being encoded.

Attributes

Applies to