SimpleArrayInt

References
Wrapper for ON_SimpleArray<int>. If you are not writing C++ code then this class is not for you.

Constructors

SimpleArrayInt

#Since v5.0
public SimpleArrayInt()
Initializes a new SimpleArrayInt class.

SimpleArrayInt

#Since v5.9
public SimpleArrayInt(IEnumerable<int> values)
Initializes a new SimpleArrayInt class
values (IEnumerable<int>)initial set of integers to add to the array

Finalizer

~SimpleArrayInt

#
~SimpleArrayInt()
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

Properties

Count

#Since v5.0
public int Count { get; }
Gets the amount of elements in this array.

Methods

ConstPointer

#Since v5.0
public nint ConstPointer()
Gets the constant (immutable) pointer of this array.
The constant pointer.

Dispose

#Since v5.0
public void Dispose()
Actively reclaims unmanaged resources that this instance uses.

NonConstPointer

#Since v5.0
public nint NonConstPointer()
Gets the non-constant pointer (for modification) of this array.
The non-constant pointer.

ToArray

#Since v5.0
public int[] ToArray()
Returns the managed counterpart of the unmanaged array.
The managed array.