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
Initializes a new SimpleArrayInt class.
public SimpleArrayInt()

SimpleArrayInt

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

Finalizer

~SimpleArrayInt

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

Properties

Count

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

Methods

ConstPointer

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

Dispose

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

NonConstPointer

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

ToArray

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