MonoTouch.ObjCRuntime.ArgumentSemantic Enumeration
Represents the assignment semantics for properties.

Syntax

public enum ArgumentSemantic

Remarks

This is used to flag the behavior of properties when objects are assigned, these are used by the MonoTouch runtime to properly track used objects and to garbage collect them when they are no longer required.

Members

Member NameDescription
AssignAssigning is merely a pointer copy.
CopyA copy of the object is made.
None
RetainThe object increases the reference count of the passed object.
StrongThe object increases the reference count of the passed object (modern name for “Retain").
UnsafeUnretainedMerely performs a pointer copy in unmanaged code (modern name for "Assign").
WeakWeak properties can be cleared and their value updated.

Requirements

Namespace: MonoTouch.ObjCRuntime
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0