System::Runtime::InteropServices::GCHandleType enum

GCHandleType enum

Defines how handle is treated by garbage collector.

enum class GCHandleType

Values

NameValueDescription
Weak0Weak pointer.
WeakTrackResurrection1Weak pointer with tracked resurrection.
Normal2Strong pointer.
Pinned3Pinned (undeletable) pointer.

See Also