Table of Contents

Class PinnedArray<T>

Namespace
Emgu.Util
Assembly
Emgu.CV.dll

A Pinned array of the specific type

public class PinnedArray<T> : DisposableObject, IDisposable

Type Parameters

T

The type of the array

Inheritance
PinnedArray<T>
Implements
Inherited Members

Constructors

PinnedArray(int)

Create a Pinnned array of the specific type

public PinnedArray(int size)

Parameters

size int

The size of the array

Properties

Array

Get the array

public T[] Array { get; }

Property Value

T[]

Methods

AddrOfPinnedObject()

Get the address of the pinned array

public nint AddrOfPinnedObject()

Returns

nint

A pointer to the address of the the pinned array

DisposeObject()

Disposed the unmanaged data

protected override void DisposeObject()

ReleaseManagedResources()

Release the GCHandle

protected override void ReleaseManagedResources()