Used for allocating a GCHandle to access the underlying pointer of an object.
| C# | Visual Basic | Visual C++ |
public class PinnedHandle : IDisposable
Public Class PinnedHandle _ Implements IDisposable
public ref class PinnedHandle : IDisposable
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| PinnedHandle(Object) |
Creates a pinned object.
| |
| Dispose()()()() |
Frees and disposes the GCHandle for this pinned object.
| |
| Handle |
The raw pointer in memory of the pinned object.
|
| Object | |
| PinnedHandle | |