SimpleArrayIntPtr

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

Constructors

SimpleArrayIntPtr

#Since v8.0
Initializes a new SimpleArrayIntPtr class.
public SimpleArrayIntPtr()

Finalizer

~SimpleArrayIntPtr

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

Properties

Count

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

Methods

ConstPointer

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

Dispose

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

NonConstPointer

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

ToArray

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