[]
A fast method to pass array of ComObject to C1.Win.DX methods.
public class ComArrayBase : DisposeBase, IDisposable, IEnumerable
Initializes a new instance of the ComArrayBase class.
public ComArrayBase(params ComObject[] array)
array
ComObject[]The array.
Initializes a new instance of the ComArrayBase class.
public ComArrayBase(int size)
size
intThe size.
Gets the length.
public int Length { get; }
Gets the pointer to the native array associated to this instance.
public IntPtr NativePointer { get; }
Clean up any resources being used.
protected override void Dispose(bool disposing)
disposing
boolGets an object at the specified index.
public ComObject Get(int index)
index
intThe index.
public IEnumerator GetEnumerator()
Sets an object at the specified index.
public void Set(int index, ComObject value)
index
intThe index.
value
ComObjectThe value.