NSObject.MarkDirty Method

Definition

Promotes a regular peer object (IsDirectBinding is true) into a toggleref object.

protected void MarkDirty ();
member this.MarkDirty : unit -> unit

Remarks

This turns a regular peer object (one that has IsDirectBinding set to true) into a toggleref object. This is necessary when you are storing to a backing field whose objc_c semantics is not copy or retain. This is an internal method.

Applies to