SimpleArray2dex

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

Constructors

SimpleArray2dex

#Since v6.0
Initializes a new SimpleArray2dex class.
public SimpleArray2dex()

SimpleArray2dex

#Since v6.0
Initializes a new SimpleArray2dex class
public SimpleArray2dex(
values
initial set of integer pairs to add to the array
)

Finalizer

~SimpleArray2dex

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

Properties

Count

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

Methods

ConstPointer

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

Dispose

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

NonConstPointer

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

ToArray

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