Represents unmanaged memory, containing an array of a given structure.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public class MemoryArray<T> : ICloneable, 
	ICollection, IEnumerable<T>, IEnumerable, IEquatable<MemoryArray<T>>
where T : struct, new()
Visual Basic (Declaration)
Public Class MemoryArray(Of T As {Structure, New}) _
	Implements ICloneable, ICollection, IEnumerable(Of T),  _
	IEnumerable, IEquatable(Of MemoryArray(Of T))
Visual C++
generic<typename T>
where T : value class, gcnew()
public ref class MemoryArray : ICloneable, 
	ICollection, IEnumerable<T>, IEnumerable, IEquatable<MemoryArray<T>^>

Type Parameters

T
Structuretype represented by the instance.

Remarks

Boolean and Char can not be marshalled.

Use Int32 instead of Boolean and Byte instead of Char.

Inheritance Hierarchy

System..::.Object
  FreeImageAPI..::.MemoryArray<(Of <(T>)>)
    FreeImageAPI..::.Palette
    FreeImageAPI..::.Scanline<(Of <(T>)>)

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also