Initializes a new instance of the MemoryArray<(Of <(T>)>) class.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public MemoryArray( void* baseAddress, int length ) |
Visual Basic (Declaration) |
---|
|
Visual C++ |
---|
public: MemoryArray( void* baseAddress, int length ) |
Parameters
- baseAddress
- Type:
System..::.Void
*
Address of the memory block.
- length
- Type: System..::.Int32
Length of the array.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | baseAddress is null. |
System..::.ArgumentOutOfRangeException | length is less or equal zero. |
System..::.NotSupportedException | The type is not supported. |