Sets a value to the element at the specified position.

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

Syntax

C#
public void SetValue(
	T value,
	int index
)
Visual Basic (Declaration)
Public Sub SetValue ( _
	value As T, _
	index As Integer _
)
Visual C++
public:
void SetValue(
	T value, 
	int index
)

Parameters

value
Type: T
The new value for the specified element.
index
Type: System..::.Int32
A 32-bit integer that represents the position of the array element to set.

Exceptions

ExceptionCondition
System..::.ArgumentOutOfRangeException index is outside the range of valid indexes for the unmanaged array.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also