SimpleArrayGuid

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

Constructors

SimpleArrayGuid

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

SimpleArrayGuid

#Since v7.0
public SimpleArrayGuid(IEnumerable<Guid> values)
Initializes a new SimpleArrayGuid class
values (IEnumerable<Guid>)initial set of Guids to add to the array

Finalizer

~SimpleArrayGuid

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

Properties

Capacity

#Since v8.21
public int Capacity { get; set; }
The capacity for the array

Count

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

Indexers

this[]

#
public Guid this[int index] { get; }
Get the Guid at index
index (int)

Methods

Append

#Since v6.0
public void Append(Guid uuid)
Appends a new Guid at the end of this array.
uuid (Guid)

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 Guid[] ToArray()
Returns the managed counterpart of the unmanaged array.
The managed array.