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
public ClassArrayString()
Initializes a new ClassArrayString instance.

Finalizer

~ClassArrayString

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

Properties

Count

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

Methods

Add

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

ConstPointer

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

Dispose

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

Dispose

#
protected virtual void Dispose(bool disposing)
disposing (bool)

NonConstPointer

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

ToArray

#Since v6.0
public string[] ToArray()
Copies the unmanaged array to a managed counterpart.
The managed array.