Edit

Share via


Runtime.GetSurfacedObjects Method

Definition

Retrieves a list of all the Objective-C objects that have been surfaced to the managed world.

public static System.Collections.Generic.List<WeakReference> GetSurfacedObjects ();
static member GetSurfacedObjects : unit -> System.Collections.Generic.List<WeakReference>

Returns

Remarks

The list contains weak references, to allow GC to take place.

This method is only for diagnostic purposes, and should not be relied upon.

Applies to