Constructor SafeGCHandle
- Namespace
- Ubiquity.NET.InteropHelpers
- Assembly
- Ubiquity.NET.InteropHelpers.dll
SafeGCHandle(object)
Initializes a new instance of the SafeGCHandle class.
public SafeGCHandle(object o)
Parameters
o
objectObject to allocate a GCHandle for that is controlled by this instance
Remarks
It is expected that the type of o
has this SafeGCHandle
as a private member so that it controls the lifetime of it's container.