Skip to main content

IIndex1D

Interface for one-dimensional indexed access to array data.

Namespace: ControlBee.Interfaces

Properties

NameTypeDescription
SizeintThe number of elements in the array.

Methods

GetValue

Gets the value at the specified index.

object? GetValue(int index);

Parameters:

  • index — The zero-based index.

Returns: The value at the index, or null.

SetValue

Sets the value at the specified index.

void SetValue(int index, object value);

Parameters:

  • index — The zero-based index.
  • value — The value to set.

See Also