MemoryArray(T) Methods

FreeImage.NET

MemoryArrayT Methods

The MemoryArrayT generic type exposes the following members.

Methods
  Name Description
Public method Clone
Creates a shallow copy of the MemoryArrayT.
Public method CopyFrom
Copies a range of elements from the array starting at the specified sourceIndex and pastes them to the unmanaged array starting at the specified destinationIndex. The length and the indexes are specified as 32-bit integers.
Protected method Static member CopyMemory
Copies a block of memory from one location to another.
Public method CopyTo(Array, Int32)
Copies the entire array to a compatible one-dimensional Array, starting at the specified index of the target array.
Public method CopyTo(T, Int32, Int32, Int32)
Copies a range of elements from the unmanaged array starting at the specified sourceIndex and pastes them to array starting at the specified destinationIndex. The length and the indexes are specified as 32-bit integers.
Public method Dispose
Releases all ressources.
Protected method Dispose(Boolean)
Releases allocated handles associated with this instance.
Protected method EnsureNotDisposed
Throws an ObjectDisposedException if this instance is disposed.
Public method Equals(Object)
Tests whether the specified MemoryArrayT structure is equivalent to this MemoryArrayT structure.
(Overrides ObjectEquals(Object).)
Public method Equals(MemoryArrayT)
Tests whether the specified MemoryArrayT structure is equivalent to this MemoryArrayT structure.
Protected method Finalize
Frees the allocated GCHandle.
(Overrides ObjectFinalize.)
Public method GetEnumerator
Retrieves an object that can iterate through the individual elements in this MemoryArrayT.
Public method GetHashCode
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetValue
Gets the value at the specified position.
Public method GetValues
Gets the values at the specified position and length.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method SetValue
Sets a value to the element at the specified position.
Public method SetValues
Sets the values at the specified position.
Public method ToByteArray
Returns the represented block of memory as an array of Byte.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also