ClassArrayString

References
Wrapper for a C++ ON_ClassArray<ON_wString> If you are not writing C++ code then this class is not for you.

Constructors

ClassArrayString

#Since v6.0
Initializes a new ClassArrayString instance.
public ClassArrayString()

Finalizer

~ClassArrayString

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

Properties

Count

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

Methods

Add

#Since v6.0
Adds a string to the list.
public void Add(
s
A string to add.
)

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()

Dispose

#
protected virtual void Dispose(
disposing
)

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
Copies the unmanaged array to a managed counterpart.
public string[] ToArray()
The managed array.