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

Finalizer

~SimpleArrayIntPtr

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

Properties

Count

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

Methods

ConstPointer

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

Dispose

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

NonConstPointer

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

ToArray

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